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]

Reply via email to