We're having a problem with our war.  Some of the dependencies have
transitive dependencies on different versions of the same jar.

For instance, some dependency has a transitive dependency of
velocity-1.4.jar.  Another has velocity-dep-1.4.jar.  Other examples include
cglib, spring, etc.

The result is that all of these jars get included in the the war.  This can
be innocuous or problematic depending on the library.

I know that I can use the <exclusions> tag in a dependency to exclude a
particular  transitive dependency.  The problem there is that I have to
track down every darn dependencies transitive dependency.  

I'd rather just explicitly state every dependency, whether they be
transitive or not, in my pom and just turn off maven's transititve
dependency resolution for my build.

Is this possible?  If so, how do I do it?

Thanks,
Skip
-- 
View this message in context: 
http://www.nabble.com/how-do-i-turn-off-inclusion-of-all-transitive-dependencies--in-2.0.4-tf2192903.html#a6068679
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to