Craig Forster created MDEP-395:
----------------------------------
Summary: get doesn't copy transitive dependencies to output
directory
Key: MDEP-395
URL: https://jira.codehaus.org/browse/MDEP-395
Project: Maven 2.x Dependency Plugin
Issue Type: Bug
Components: get
Affects Versions: 2.6
Reporter: Craig Forster
The documentation for the 'get' operation declares:
"Downloads a single artifact transitively from the specified remote
repositories."
However, only the artifact specified is copied to the 'dest' directory. All
the dependencies are downloaded into the local repository, however.
For example:
cforster-mbp:maven craig.forster$ mvn
org.apache.maven.plugins:maven-dependency-plugin:2.6:copy
-Dartifact=com.sun.jersey:jersey-bundle:1.9.1 -Ddest=out/
-Dtransitive=true[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.6:copy (default-cli) @ standalone-pom ---
[INFO] Configured Artifact: com.sun.jersey:jersey-bundle:1.9.1:jar
[INFO] Copying jersey-bundle-1.9.1.jar to
/Users/craig.forster/tmp/maven/${project.basedir}/target/dependency/jersey-bundle-1.9.1.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.157s
[INFO] Finished at: Thu Jan 31 17:15:17 CST 2013
[INFO] Final Memory: 6M/81M
[INFO] ------------------------------------------------------------------------
cforster-mbp:maven craig.forster$ ll out
total 2776
drwxr-xr-x 3 craig.forster SAILPOINT\Domain Users 102 Jan 31 17:04 .
drwxr-xr-x 4 craig.forster SAILPOINT\Domain Users 136 Jan 31 17:15 ..
-rw-r--r-- 1 craig.forster SAILPOINT\Domain Users 1420500 Jan 30 15:42
jersey-bundle-1.9.1.jar
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira