Hi,
I am using the maven-dependency-plugin version 2.8.
If I run "mvn dependency:build-classpath" for one of my project I get the
correct order of the dependencies, but if I generate the classpath in the
maven build itself of my project then the order is messed up.
The plugin configuration I am using (from the effective pom) is below. 
I also tried using older versions of this plugin. 
Why is the order different for the same project and the same version of the
dependency plugin?

       <plugin>
        <artifactId>maven-dependency-plugin</artifactId>
        <version>2.8</version>
        <executions>
          <execution>
            <id>build-classpath</id>
            <phase>generate-sources</phase>
            <goals>
              <goal>build-classpath</goal>
            </goals>
            <configuration>
              <excludeScope>provided</excludeScope>
              <prefix>\</prefix>
              <pathSeparator>;</pathSeparator>
              <outputFile>classpath.txt</outputFile>
              <useBaseVersion>true</useBaseVersion>
            </configuration>
          </execution>
....



--
View this message in context: 
http://maven.40175.n5.nabble.com/dependency-build-classpath-returns-wrong-order-tp5773306.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to