maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chicagopooldude <Seshu.Pit...@cmegroup.com>
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: http://www.nabble.com/Global-transitive-depedency-exclude-tp26079185p26079185.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Mime
View raw message