I'm using skinny wars with M2E-WTP and JBoss 7 and 8 without problems.
One thing you should pay attention to is adding JAR dependencies to WARs with "provided" scope, which prevents them from being packaged into WEB-INF/lib.

Cheers,
Rafał

On 11/18/2014 02:59 PM, Emond Papegaaij wrote:
Hi,

I'm trying to setup a project that depends heavily on the skinnyWars feature
of the maven-ear-plugin: 
http://maven.apache.org/plugins/maven-ear-plugin/examples/skinny-wars.html . 
The war has over 200 dependencies, of which
about 180 have to be moved to the ear. When I deploy this ear to WildFly from
Eclipse, the jars are not removed from the war. They end up in the deployment
twice (both in the ear and the war). This results in all kinds of deployment
errors. An ear built from the commandline, does not have this problem.

All I could find about this is
https://issues.sonatype.org/browse/MECLIPSEWTP-222 , but this project seems to
be abandoned. Is skinnyWars support known to be broken, or did I do something
wrong?

Best regards,
Emond Papegaaij
_______________________________________________
m2e-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users

_______________________________________________
m2e-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to