maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse Glick (JIRA)" <>
Subject [jira] Created: (MDEP-335) -Dtransitive=true does not work
Date Fri, 04 Nov 2011 16:32:51 GMT
-Dtransitive=true does not work

                 Key: MDEP-335
             Project: Maven 2.x Dependency Plugin
          Issue Type: Bug
          Components: get
    Affects Versions: 2.3
         Environment: Ubuntu Oneiric, JDK 6u29, Maven 3.0.3
            Reporter: Jesse Glick
            Assignee: Brian Fox
            Priority: Critical

{{mvn dependency:get}} does not download transitive dependencies, only the specified artifact.
Adding {{-Dtransitive=true}} (even though this is documented to be the default) does not help.
The cause seems to be a simple typo; with that fixed, the goal works as far as I can tell:

Index: src/main/java/org/apache/maven/plugin/dependency/
--- src/main/java/org/apache/maven/plugin/dependency/	(revision 1197624)
+++ src/main/java/org/apache/maven/plugin/dependency/	(working copy)
@@ -151,7 +151,7 @@
      * Download transitively, retrieving the specified artifact and all of its dependencies.
-     * @parameter expression="{$transitive}" default-value=true
+     * @parameter expression="${transitive}" default-value=true
     private boolean transitive = true;

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message