You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "deckrider (JIRA)" <ji...@codehaus.org> on 2008/12/12 23:10:19 UTC

[jira] Commented: (MDEP-192) generated classpath should match what maven produces

    [ http://jira.codehaus.org/browse/MDEP-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=157882#action_157882 ] 

deckrider commented on MDEP-192:
--------------------------------

By the way, from http://maven.apache.org/release-notes.html I would expect the order to be changeable based on pom order:

MNG-1412 / MNG-3111 introduced deterministic ordering of dependencies on the classpath. In the past, natural set ordering was used and this lead to odd results. The ordering is now preserved from your pom, with dependencies added by inheritence added last. In builds that had conflicting or duplicate dependencies, this may introduce a change to the output. In short, if you have weird issues with 2.0.9, take a look at the dependencies to see if you have conflicts somewhere.

> generated classpath should match what maven produces
> ----------------------------------------------------
>
>                 Key: MDEP-192
>                 URL: http://jira.codehaus.org/browse/MDEP-192
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>          Components: build-classpath
>    Affects Versions: 2.0, 2.1
>         Environment: all
>            Reporter: deckrider
>            Assignee: Brian Fox
>
> The generated classpath should be what maven produces, but appears to be in some other order when the following configuration is used for both version 2.0 and today's (Dec 12, 2008) latest trunk:
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-dependency-plugin</artifactId>
>         <executions>
>           <execution>
>             <id>classpathUnix</id>
>             <phase>generate-sources</phase>
>             <goals>
>               <goal>build-classpath</goal>
>             </goals>
>             <configuration>
>               <pathSeparator>:</pathSeparator>
>               <prefix>${project.artifactId}</prefix>
>               <outputFile>${project.build.directory}/${project.artifactId}-unix.classpath</outputFile>
>             </configuration>
>           </execution>
>         </executions>
>       </plugin>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira