You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2007/11/05 22:52:36 UTC

[jira] Closed: (MANTTASKS-22) artifact:dependencies does not respect in the generated classpath the order of the dependencies

     [ http://jira.codehaus.org/browse/MANTTASKS-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy closed MANTTASKS-22.
----------------------------------

         Assignee: Herve Boutemy
       Resolution: Fixed
    Fix Version/s: 2.0.8

fixed in r
you can test it using latest SNAPSHOT in http://maven.zones.apache.org/continuum/workingCopy.action?projectId=524&projectName=Maven+Ant+Task&userDirectory=target

> artifact:dependencies does not respect in the generated classpath the order of the dependencies
> -----------------------------------------------------------------------------------------------
>
>                 Key: MANTTASKS-22
>                 URL: http://jira.codehaus.org/browse/MANTTASKS-22
>             Project: Maven 2.x Ant Tasks
>          Issue Type: Bug
>          Components: dependencies task
>    Affects Versions: 2.0.4
>         Environment: Windows 2005
> Ant 1.6.5
> JDK 1.4.2_10
>            Reporter: Aurélien Lacenaire
>            Assignee: Herve Boutemy
>             Fix For: 2.0.8
>
>         Attachments: mavenTestClasspath.tgz
>
>
> For example, if I put the dependencies in this order, in the generated classpath (dependency.classpath) the order of the jars seems to be different :
> <artifact:dependencies pathId="dependency.classpath" filesetId="dependency.fileset" useScope="runtime">
> 	<remoteRepository refid="remote.repository"/>
> 	<dependency groupId="projects" artifactId="abc" version="1.0"/>
> 	<dependency groupId="projects" artifactId="def" version="1.0"/>
> 	<dependency groupId="projects" artifactId="ghi" version="1.0"/>
> </artifact:dependencies>
> the order in the generated classpath dependency.classpath is not the same as :
> <path id="dependency.classpath">
> 	<pathelement location="${jars.location}/abc-1.0.jar"/>
> 	<pathelement location="${jars.location}/def-1.0.jar"/>
> 	<pathelement location="${jars.location}/ghi-1.0"/>
> </path>
> And my projects have to use those jars in a specific order, otherwhise the build fails.

-- 
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