Currently after looking around i did not find any Global transitive
dependency exclude in maven. So i used mvn dependency:tree and see where the
jar that being pulled from and use excludes to main parent pom under
dependencyManagement. 



chicagopooldude wrote:
> 
> I am working on getting a war file from our project using maven, we
> initially had around 120+ jars in lib which have become cluttered that's
> one of the reasons to move to Maven. Now due to transitive dependencies we
> have around 180+ jars in web-inf/lib. I have tried excluding each
> transitive jars using dependency:tree method with success. I wanted to
> know if there is any other way to globally disable transitive dependency
> in the whole project because there are times when two versions of jars  in
> lib which causes problems while deployed war runs on server. Also I have
> seen <useTransitiveDependencies>true</useTransitiveDependencies> in
> assembly plugin can this be used to build war minus all the jars which we
> dont need?. Any help is appreciated and thanks for seeing this post.
> 

-- 
View this message in context: 
http://old.nabble.com/Global-transitive-depedency-exclude-tp26079185p26160484.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to