Loading...

users@maven.apache.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: How To Determine/Exclude Transitive Dependencies Jörg Schaible Fri Apr 30 16:01:36 2010

Shelli Orton wrote:

> I am new to Maven and am trying to understand transitive dependencies
> and how to exclude them from my war.
> 
>  
> 
> For example, in my war file, FastInfoset-1.2.2.jar file is included.  I
> do not have it listed as a dependency in my POM, so it must be a
> transitive dependency.  I ran mvn with the -X parameter and saved the
> output to a file to see if I could glean which dependency is the
> "mother" dependency.

-X is useful for debugging if a process fails. For simple dependency 
checking, use "mvn dependency:tree"

- Jörg



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