You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Christian Schulte <cs...@schulte.it> on 2005/11/28 10:51:29 UTC

[m2] Avoiding duplicate jar files in a generated ear file ?

Hi,

when I build an ear file with maven 2 it happens that because of 
transitive dependencies I get e.g. two struts.jar files in the generated 
file. What is the recommended way of managing transitive dependencies ? 
Say I have a dependency which itself has a dependency to 
struts-1.2.7.jar and another dependency which itself has a dependency to 
struts-1.2.8.jar I would like to avoid having both struts versions in 
the generated ear file. What is the recommended way of doing this ?

-- 
Christian


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


Re: [m2] Avoiding duplicate jar files in a generated ear file ?

Posted by Christian Schulte <cs...@schulte.it>.
Christian Schulte schrieb:

> Hi,
>
> when I build an ear file with maven 2 it happens that because of 
> transitive dependencies I get e.g. two struts.jar files in the 
> generated file. What is the recommended way of managing transitive 
> dependencies ? Say I have a dependency which itself has a dependency 
> to struts-1.2.7.jar and another dependency which itself has a 
> dependency to struts-1.2.8.jar I would like to avoid having both 
> struts versions in the generated ear file. What is the recommended way 
> of doing this ?
>
Really noone any hint or best-practice advice ?

-- 
Christian


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