maven-dependency-plugin:2.2:get just download single jar file even if
transitive property is set to true
--------------------------------------------------------------------------------------------------------
Key: MDEP-308
URL: http://jira.codehaus.org/browse/MDEP-308
Project: Maven 2.x Dependency Plugin
Issue Type: Bug
Affects Versions: 2.2
Environment: Windows XP / SUSE Linux
Reporter: Amit Jolly
Assignee: Brian Fox
Priority: Critical
I am trying to see if can download maven artifact transitively (without pom
file) from maven repository (Nexus in my case) to local server.
As my POC I am trying to download one of the existing artifact
cxf-rt-frontend-jaxws from my local nexus repo.
Below is the command i am using to download. Now the issue is it only downloads
the single jar(cxf-rt-frontend-jaxws-2.2.9.jar) file and does not download any
of the dependencies.. ( I am using latest version of mvn 3.0.3)
But same artifact if i add in the pom file of one of my java/maven projects,
then it does downloads all the required artifacts.
$ mvn -c org.apache.maven.plugins:maven-dependency-plugin:2.2:get
-Dtransitive=true
-DrepoUrl=http://loneqidelappu3.uk.db.com:8081/nexus/content/groups/common
-Dartifact=org.apache.cxf:cxf-rt-frontend-jaxws:2.2.9
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.2:get (default-cli) @ standalone-pom ---
Downloading:
http://loneqidelappu3.uk.db.com:8081/nexus/content/groups/common/org/apache/cxf/cxf-rt-frontend-jaxws/2.2.9/cxf-rt-frontend-jaxws-2.2.9.jar
Downloaded:
http://loneqidelappu3.uk.db.com:8081/nexus/content/groups/common/org/apache/cxf/cxf-rt-frontend-jaxws/2.2.9/cxf-rt-frontend-jaxws-2.2.9.jar
(302 KB
at 253.6 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.328s
[INFO] Finished at: Sat Mar 26 23:49:04 EDT 2011
[INFO] Final Memory: 3M/7M
[INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira