maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dsilve <davide.silves...@gmail.com>
Subject dependency build-classpath returns wrong order
Date Fri, 18 Oct 2013 13:00:51 GMT
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-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message