maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chicagopooldude <>
Subject Global transitive depedency exclude
Date Tue, 27 Oct 2009 14:55:59 GMT

I am working on getting a war file from our project using maven, we initially
had around 120+ jars in lib which are have become cluttered that's one of
the reason 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 are there 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:
Sent from the Maven - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message