8 Replies Latest reply on Jun 24, 2015 9:32 AM by mkouba

    Feature Request, support onejar-maven-plugin

    pieter.martin

      Hi,


      I am using weld-se in a standalone SE app.
      I am using onejar-maven-plugin to build an executable jar with all the dependencies contained in the jar.


      The plugin basically packages jars inside jars and then has its own classloader to get the whole thing going.


      However this completely breaks org.jboss.weld.environment.se.discovery.URLScanner as the classes are now in a non standard place.


      I have added some code to URLScanner class to support the onejar-maven-plugin and my one jar together with weld is working fine.


      I prefer this way over using the maven-shade-plugin as that overrides duplicate files, beans.xml for instance.


      Any chance weld-se will add support for this?


      Thanks
      Pieter