Well, since necessity is the mother of all invention and I have been asked
for a magic bullet that poops out a stack of licenses, I am becoming more
creative. Consider the following simple dependency:
<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 number of downstream
files, when in fact all I get is what you see below. I *know* there are
more dependencies than this! Can you help me out with the flags and
switches?
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]
------------------------------------------------------------------------
--
View this message in context:
http://www.nabble.com/-OT--POM%2C-licenses-and-dependency-trees-tp22309719p22316588.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]