maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anders Hammar (JIRA)" <>
Subject [jira] (MDEP-342) maven-dependency-plugin goal build-classpath is not written in correct order.
Date Thu, 17 Jan 2013 08:48:13 GMT


Anders Hammar commented on MDEP-342:

Either I can't reproduce, or it migth be me missing something.

Using Maven 3.0.4 on Mac OS 10.8.2 with Apple JDK 1.6.0_37, I get (with attached test project):

mvn org.apache.maven.plugins:maven-dependency-plugin:2.4:build-classpath


The same result with v2.6 of the plugin as well. And this is also the order I see in the POM
(including transitive deps).

In the manifest of the jar I get:
Class-Path: lib/commons-logging-1.1.1.jar lib/args4j-2.0.16.jar lib/xs
 tream-1.2.2.jar lib/xpp3_min-

All seems fine!?
> maven-dependency-plugin goal build-classpath is not written in correct order.
> -----------------------------------------------------------------------------
>                 Key: MDEP-342
>                 URL:
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>          Components: build-classpath
>    Affects Versions: 2.4
>            Reporter: Anders Lindgren
>         Attachments:
> When running the goal build-classpath, the order of the dependencies in the output is
not the same as in the pom.
> The dependency:tree is however producing output in correct order.
> Also, when producing an executable jar using the maven-jar-plugin with addClasspath set
to true, the result is correct.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message