-
1. Re: Feature Request, support onejar-maven-plugin
pmuir Feb 25, 2010 4:42 PM (in response to pieter.martin)Sounds good, file a feature request in WELDX, add a patch, I think Pete R will be able to take a look :-)
-
2. Re: Feature Request, support onejar-maven-plugin
pieter.martin Feb 25, 2010 4:59 PM (in response to pieter.martin)Great..., WELDX-81
-
3. Re: Feature Request, support onejar-maven-plugin
peteroyle.howardmoon.hitcity.com.au Mar 6, 2010 3:41 PM (in response to pieter.martin)Thanks for the patch! I'll try to have a look at this as soon as possible...
-
4. Re: Feature Request, support onejar-maven-plugin
java_whacko Jun 23, 2015 11:18 PM (in response to pmuir)Is this ever fixed? I am using 2.2.13 version of weld and I am getting an error on startup.
2015-06-23 22:45:58,416 DEBUG [org.jboss.weld.Bootstrap] (main) WELD-ENV-000032: Processing bean archive reference: /gw-provisioning-server.one-jar.jar!/lib/mfss-security-authentication-1.4.0-SNAPSHOT.jar
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.simontuffs.onejar.Boot.run(Boot.java:340)
at com.simontuffs.onejar.Boot.main(Boot.java:166)
Caused by: java.lang.NullPointerException
at org.jboss.weld.environment.deployment.discovery.jandex.JandexFileSystemBeanArchiveHandler.handle(JandexFileSystemBeanArchiveHandler.java:43)
at org.jboss.weld.environment.deployment.discovery.AbstractDiscoveryStrategy.performDiscovery(AbstractDiscoveryStrategy.java:91)
at org.jboss.weld.environment.se.Weld.createDeployment(Weld.java:210)
at org.jboss.weld.environment.se.Weld.initialize(Weld.java:135)
at com.medfusion.mfss.embeddable.server.EmbeddableRestServer.main(EmbeddableRestServer.java:77)
... 6 more
-
5. Re: Feature Request, support onejar-maven-plugin
mkouba Jun 24, 2015 2:42 AM (in response to java_whacko)Hi,
nested archives are not supported at the moment - see also [WELD-1930] Nested archive support - JBoss Issue Tracker. I'm not sure this ever worked out of the box.
-
6. Re: Feature Request, support onejar-maven-plugin
java_whacko Jun 24, 2015 9:24 AM (in response to mkouba)But, when I look at the below issue, it seems to have been worked on.
-
7. Re: Feature Request, support onejar-maven-plugin
mkouba Jun 24, 2015 9:30 AM (in response to java_whacko)Yes, but I think the solution was to allow to provide a custom scanner component, see also Pete's comment: [WELD-595] Add support for onejar-maven-plugin - JBoss Issue Tracker
-
8. Re: Feature Request, support onejar-maven-plugin
mkouba Jun 24, 2015 9:32 AM (in response to java_whacko)Nevertheless, I've created a working prototype for WELD-1930 - see also WELD-1930 Weld SE - basic support for nested archives by mkouba · Pull Request #1046 · weld/core · GitHub. Feel free to make a review, post comments, etc.