[ https://issues.apache.org/jira/browse/MDEP-420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15757197#comment-15757197 ]
Guillaume Boué commented on MDEP-420: ------------------------------------- Can you clarify the issue? Using {{get}} with this version of the plugin (and 2.10 as well), it correctly downloads the POM file of the artifact (and of its transitive dependencies), along with the JAR files: {noformat} $ mvn org.apache.maven.plugins:maven-dependency-plugin:2.8:get -Dartifact=asm:asm-analysis:3.2 [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Stub Project (No POM) 1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-dependency-plugin:2.8:get (default-cli) @ standalone-pom --- Downloading: https://repo.maven.apache.org/maven2/asm/asm/3.3.1/asm-3.3.1.pom Downloaded: https://repo.maven.apache.org/maven2/asm/asm/3.3.1/asm-3.3.1.pom (266 B at 0.5 KB/sec) Downloading: https://repo.maven.apache.org/maven2/asm/asm-parent/3.3.1/asm-parent-3.3.1.pom Downloaded: https://repo.maven.apache.org/maven2/asm/asm-parent/3.3.1/asm-parent-3.3.1.pom (5 KB at 68.2 KB/sec) Downloading: https://repo.maven.apache.org/maven2/asm/asm/3.3.1/asm-3.3.1.jar Downloaded: https://repo.maven.apache.org/maven2/asm/asm/3.3.1/asm-3.3.1.jar (43 KB at 360.7 KB/sec) [INFO] Resolving asm:asm-analysis:jar:3.2 with transitive dependencies Downloading: https://repo.maven.apache.org/maven2/asm/asm-analysis/3.2/asm-analysis-3.2.pom Downloaded: https://repo.maven.apache.org/maven2/asm/asm-analysis/3.2/asm-analysis-3.2.pom (417 B at 8.0 KB/sec) Downloading: https://repo.maven.apache.org/maven2/asm/asm-parent/3.2/asm-parent-3.2.pom Downloaded: https://repo.maven.apache.org/maven2/asm/asm-parent/3.2/asm-parent-3.2.pom (5 KB at 78.7 KB/sec) Downloading: https://repo.maven.apache.org/maven2/asm/asm-tree/3.2/asm-tree-3.2.pom Downloaded: https://repo.maven.apache.org/maven2/asm/asm-tree/3.2/asm-tree-3.2.pom (404 B at 7.7 KB/sec) Downloading: https://repo.maven.apache.org/maven2/asm/asm/3.2/asm-3.2.pom Downloaded: https://repo.maven.apache.org/maven2/asm/asm/3.2/asm-3.2.pom (264 B at 4.8 KB/sec) Downloading: https://repo.maven.apache.org/maven2/asm/asm-tree/3.2/asm-tree-3.2.jar Downloading: https://repo.maven.apache.org/maven2/asm/asm/3.2/asm-3.2.jar Downloading: https://repo.maven.apache.org/maven2/asm/asm-analysis/3.2/asm-analysis-3.2.jar Downloaded: https://repo.maven.apache.org/maven2/asm/asm-analysis/3.2/asm-analysis-3.2.jar (18 KB at 278.8 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/asm/asm-tree/3.2/asm-tree-3.2.jar (22 KB at 176.6 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/asm/asm/3.2/asm-3.2.jar (43 KB at 304.9 KB/sec) [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.009 s [INFO] Finished at: 2016-12-17T16:28:29+01:00 [INFO] Final Memory: 11M/124M [INFO] ------------------------------------------------------------------------ {noformat} This was tested with both Maven 3.0.5 and 3.3.9. > The dependency:get goal does not download the associate pom, or provide an > option to do that > -------------------------------------------------------------------------------------------- > > Key: MDEP-420 > URL: https://issues.apache.org/jira/browse/MDEP-420 > Project: Maven Dependency Plugin > Issue Type: Bug > Components: get > Affects Versions: 2.8 > Reporter: Martin Todorov > > The dependency:get goal does not download the associate .pom, or provide an > option to do that. Instead one needs to do a second invocation in order to > resolve the pom. It would be great if you could add this feature. > Much appreciated! :) -- This message was sent by Atlassian JIRA (v6.3.4#6332)