You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by fa...@mpsa.com on 2005/09/19 15:21:34 UTC

[m2-beta-1] Ear plugin: root-context & copied JARs/WARs




Hi guys!

I've 2 little questions about the Ear plugin (version 2.0beta1):

1- how can I tell the Ear plugin to use a specific root-context for a War
when it generates the application.xml? (instead of using the artifactId)
Something like the "<ear.appxml.war.context-root>" in m1.

2- when the plugin generates the Ear, it packages most dependencies of the
War module, while they already exist the the WEB-INF/lib of the War (and I
don't want them to be copied a second time at the root of the Ear). Those
dependencies have a "compile" scope in the pom of the War module. Is it the
normal behaviour? Is there a property or something to tell m2 not to
package them?

Thanks for your help!
Cheers,
Fabrice.

Best Regards / Cordialement,
Fabrice BELLINGARD
DINQ/DSIN/INSI/EATE/IDVS/AIDV
(+33) (01 61) 45 15 91  -  fabrice.belingard@mpsa.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org