Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Skinnywars support

Skinnywars is meant to be used without making all dependencies provided. 
Marking 180 jars as provided, in an application with almost 50 modules is 
almost impossible to get right. Also, I want to build different ears with the 
same wars but with different dependencies. That's impossible when these 
dependencies are scoped provided.

Best regards,
Emond Papegaaij

On Tuesday, November 18, 2014 03:33:49 PM Rafał Krzewski wrote:
> 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.htm
> > l . 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
> > m2e-users@xxxxxxxxxxx
> > 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
> m2e-users@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit https://dev.eclipse.org/mailman/listinfo/m2e-users



Back to the top