You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Boué (JIRA)" <ji...@apache.org> on 2016/12/17 15:17:58 UTC

[jira] [Closed] (MDEP-548) The get Mojo doesn't resolve the artifact when setting transitive to false

     [ https://issues.apache.org/jira/browse/MDEP-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Boué closed MDEP-548.
-------------------------------
       Resolution: Fixed
         Assignee: Guillaume Boué
    Fix Version/s: 3.0.1

> The get Mojo doesn't resolve the artifact when setting transitive to false
> --------------------------------------------------------------------------
>
>                 Key: MDEP-548
>                 URL: https://issues.apache.org/jira/browse/MDEP-548
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Arnaud HERITIER
>            Assignee: Guillaume Boué
>             Fix For: 3.0.1
>
>
> Using a command line call with no POM
> With 3.0.0
> {code}
> mvn -X -B -U org.apache.maven.plugins:maven-dependency-plugin:3.0.0:get -Dartifact=com.cloudbees.jenkins.main:jenkins-enterprise-war:2.7.21.1:war -Dtransitive=false
> [INFO] Scanning for projects...
> [INFO] Downloading: https://nexus-internal.cloudbees.com/content/groups/mirror/org/apache/maven/plugins/maven-dependency-plugin/maven-metadata.xml
> [INFO] Downloaded: https://nexus-internal.cloudbees.com/content/groups/mirror/org/apache/maven/plugins/maven-dependency-plugin/maven-metadata.xml (921 B at 198 B/s)
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Maven Stub Project (No POM) 1
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-dependency-plugin:3.0.0:get (default-cli) @ standalone-pom ---
> [INFO] Resolving com.cloudbees.jenkins.main:jenkins-enterprise-war:war:2.7.21.1
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 5.835 s
> [INFO] Finished at: 2016-12-16T21:58:22+01:00
> [INFO] Final Memory: 15M/172M
> [INFO] ------------------------------------------------------------------------
> {code}
> With 2.10
> {code}
> mvn -X -B -U org.apache.maven.plugins:maven-dependency-plugin:3.0.0:get -Dartifact=com.cloudbees.jenkins.main:jenkins-enterprise-war:2.7.21.1:war -Dtransitive=false
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Maven Stub Project (No POM) 1
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-dependency-plugin:2.10:get (default-cli) @ standalone-pom ---
> [INFO] Resolving com.cloudbees.jenkins.main:jenkins-enterprise-war:war:2.7.21.1
> [INFO] Downloading: https://nexus-internal.cloudbees.com/content/groups/mirror/com/cloudbees/jenkins/main/jenkins-enterprise-war/2.7.21.1/jenkins-enterprise-war-2.7.21.1.war
> ...
> {code}
> cc [~rfscholte]
> I'm on Apache Maven 3.4.0-SNAPSHOT but my coworkers has the issue with 3.3.9 and others releases



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)