It's possible that some other dependency has the 3.1 set. Use mvn -X to see the actual resolution, the tree mojo is still in progress.
I don't understand your question about the war files. Are you expecting to see the dependencies inside the war or OF the war? -----Original Message----- From: Nigel Magnay [mailto:[EMAIL PROTECTED] Sent: Friday, October 26, 2007 9:43 AM To: Maven Users List Subject: Re: dependency:resolve and dependency:tree .. and on a related note... When I do dependency:tree on a project that contains <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate</artifactId> <version>3.2.4.ga</version> <type>jar</type> <scope>compile</scope> </dependency> In the hibernate pom in my repository, it says ... <dependency> <groupId>commons-collections</groupId> <artifactId>commons-collections</artifactId> <version>2.1.1</version> </dependency> ... Why does dependency:tree show it as 3.1 ?!?! org.hibernate:hibernate:jar:3.2.4.ga:compile [INFO] net.sf.ehcache:ehcache:jar:1.2.3:compile [INFO] commons-logging:commons-logging:jar:1.1:compile [INFO] asm:asm-attrs:jar:1.5.3:compile [INFO] antlr:antlr:jar:2.7.6:compile [INFO] cglib:cglib:jar:2.1_3:compile [INFO] asm:asm:jar:1.5.3:compile [INFO] commons-collections:commons-collections:jar:3.1:compile Is this also the reason why my dependency convergence report looks OK, when really there's a mismatch ? On 26/10/2007, Nigel Magnay <[EMAIL PROTECTED]> wrote: > > Hello > > I have a war project (actually, a cargo uberwar project), which I want to > analyse using dependency:resolve / dependency:tree (and maybe even through > site reporting) in order to find dependency conflicts. > > However - the dependency plugin does not show the jar files that are a > part of the dependent war files - it is cut off at the jar level. > > Is it possible to configure it to descend the dependency tree into WAR > artifacts as well? Without this my dependency list looks fine, but I have > WAR files with differing versions in them... > > Nigel > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]