[jira] Updated: (MNG-1379) Wrong path for artifacts with system scope

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] Updated: (MNG-1379) Wrong path for artifacts with system scope

JIRA jira@codehaus.org
     [ http://jira.codehaus.org/browse/MNG-1379?page=all ]

Kenney Westerhof updated MNG-1379:

    Fix Version/s:     (was: 2.0.5)

> Wrong path for artifacts with system scope
> ------------------------------------------
>                 Key: MNG-1379
>                 URL: http://jira.codehaus.org/browse/MNG-1379
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Plugins and Lifecycle
>    Affects Versions: 2.0
>            Reporter: fabrizio giustina
>         Assigned To: Edwin Punzalan
>             Fix For: 2.0.6
>         Attachments: MNG-1379-maven-project.patch
> For system dependencies artifact.getFile() returns a wrong file. While dependency.getSystemPath() correctly returns the user-set path, artifact.getPath always returns the path in the local repository.
> For example a dependency with system path = "/test.jar" will result in:
> dependency.getSystemPath() = /test.jar
> artifact.getFile().getAbsolutePath()= M2_REPO/groupid/artifactid/version/artifactid-1.0.jar

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