Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Duplicate
-
2.3
-
None
-
None
-
Ubuntu Oneiric, JDK 6u29, Maven 3.0.3
-
Patch
Description
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/GetMojo.java =================================================================== --- src/main/java/org/apache/maven/plugin/dependency/GetMojo.java (revision 1197624) +++ src/main/java/org/apache/maven/plugin/dependency/GetMojo.java (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;
Attachments
Issue Links
- duplicates
-
MDEP-284 Get Mojo ignores the transitive attribute because of a typo in the parameter declaration
- Closed