You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Nikola Petrov (JIRA)" <ji...@codehaus.org> on 2010/04/28 23:37:13 UTC

[jira] Issue Comment Edited: (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=219312#action_219312 ] 

Nikola Petrov edited comment on MDEP-192 at 4/28/10 4:36 PM:
-------------------------------------------------------------

It happened to be far easier than i thought. I would be glad if you can apply this patch as fast as you can, because we are having the same problem when trying to auto generate some classpath files.

      was (Author: nikolavp):
    A patch that fixes the problem
  
> 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
>         Attachments: build-classpath.patch
>
>
> 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