maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikola Petrov (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MDEP-192) generated classpath should match what maven produces
Date Wed, 28 Apr 2010 11:16:12 GMT

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

Nikola Petrov commented on MDEP-192:
------------------------------------

I have a patch that fixes the problem but it cannot pass the tests, because it uses MavenSession
and for some odd reason the class is not injected when testing it with junit. As soon as i
figure out how to do that i will post the code here.

> 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

        

Mime
View raw message