thanks, just what i was looking for. Too bad about the bug.

----- Original Message ----
From: Wendy Smoak <[EMAIL PROTECTED]>
To: Maven Users List <[email protected]>
Sent: Monday, December 10, 2007 2:49:30 PM
Subject: Re: exclude depend. from all war files included in EAR


On Dec 10, 2007 6:42 AM, maarten roosendaal <[EMAIL PROTECTED]>
 wrote:

> I have an EAR file wich contains 5 WAR files. Each is dependent on
 struts, now i want be able to build the EAR so that all dependencies are
 concentrated in the root of the EAR and excluded from the WEB-INF\lib.
>
> The manifests are correct and the struts library is situated in the
 EAR and not in the WAR\WEB-INF\lib but the transitive dependencies are
 still included in the WEB-INF\lib. How can i easily avoid this. The
 option <provided> only works for the mentioned jar and not for it's
 transitive dependencies.

I think the concept you're looking for is "skinny war".  These links
may help:

*
 http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.html

 * http://jira.codehaus.org/browse/MEAR-60

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Reply via email to