Hey guys -- 

I am trying to build a tool for the lawyers that will reveal a dependency
tree of all downstream products necessary when considering adoption of an
open source product.  For the sake of illustration, I have created a simple
project with a single dependency on Struts 2.


<project ...
  <dependencies>
    <dependency>
      <groupId>org.apache.struts</groupId>
      <artifactId>struts2-core</artifactId>
      <version>2.1.6</version>
   </dependency> 
  </dependencies>
</project>


I am running mvn dependency:tree and expecting a large dependency tree, when
in fact all I get is what you see below.  I *know* there are more
dependencies than this!  Can someone help me out with this flags and
switches please?

C:\Users\scott\MavenApps\appStats-app>mvn dependency:tree
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'dependency'.
[INFO]
------------------------------------------------------------------------
[INFO] Building appStats-app
[INFO]    task-segment: [dependency:tree]
[INFO]
------------------------------------------------------------------------
[INFO] [dependency:tree]
[INFO] com.acme.appStats:appStats-app:jar:1.0-SNAPSHOT
[INFO] +- junit:junit:jar:3.8.1:test (scope not updated to compile)
[INFO] \- org.apache.struts:struts2-core:jar:2.1.6:compile
[INFO]    +- com.opensymphony:xwork:jar:2.1.2:compile
[INFO]    |  \- org.springframework:spring-test:jar:2.5.6:compile
[INFO]    |     \- commons-logging:commons-logging:jar:1.1.1:compile
[INFO]    +- org.freemarker:freemarker:jar:2.3.13:compile
[INFO]    +- opensymphony:ognl:jar:2.6.11:compile
[INFO]    +- commons-fileupload:commons-fileupload:jar:1.2.1:compile
[INFO]    +- commons-io:commons-io:jar:1.3.2:compile
[INFO]    \- com.sun:tools:jar:1.5.0:system
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Tue Mar 03 12:57:53 CST 2009
[INFO] Final Memory: 10M/20M
[INFO]
------------------------------------------------------------------------

Peace,
Scott
-- 
View this message in context: 
http://www.nabble.com/Dependency-question-tp22315314p22315314.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to