[ 
https://issues.apache.org/jira/browse/MDEP-420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16032560#comment-16032560
 ] 

Tom Wieczorek commented on MDEP-420:
------------------------------------

It's actually happening if you disable transitive dependency download:

{noformat}
$ mvn org.apache.maven.plugins:maven-dependency-plugin:2.8:get 
-Dartifact=asm:asm-analysis:3.2 -Dtransitive=false
[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 ---
[INFO] Resolving asm:asm-analysis:jar:3.2
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 38 kB/s)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.940 s
[INFO] Finished at: 2017-06-01T07:04:04Z
[INFO] Final Memory: 15M/249M
[INFO] ------------------------------------------------------------------------
$ ls -la ~/.m2/repository/asm/asm-analysis/3.2/
total 36
drwxr-xr-x    2 towi     towi          4096 Jun  1 07:04 .
drwxr-xr-x    3 towi     towi          4096 Jun  1 07:04 ..
-rw-r--r--    1 towi     towi           163 Jun  1 07:04 _remote.repositories
-rw-r--r--    1 towi     towi         17985 Jun  1 07:04 asm-analysis-3.2.jar
-rw-r--r--    1 towi     towi            40 Jun  1 07:04 
asm-analysis-3.2.jar.sha1
$ 
{noformat}

> 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.15#6346)

Reply via email to