[ http://jira.codehaus.org/browse/MNG-1379?page=comments#action_50291 ]
fabrizio giustina commented on MNG-1379: ---------------------------------------- The eclipse plugin in svn has been modified by replacing the path for system-scope artifacts with the path returned by dependency.getSystemPath(). You can check if everything is ok by getting the latest version from svn and commenting out the content of the fixSystemScopeArtifacts() method in EclipseUtils. Test #8 is related to this bug. Has this been fixed in maven core? Which revision? > Wrong path for artifacts with system scope > ------------------------------------------ > > Key: MNG-1379 > URL: http://jira.codehaus.org/browse/MNG-1379 > Project: Maven 2 > Type: Bug > Components: maven-core > Versions: 2.0 > Reporter: fabrizio giustina > Fix For: 2.0.1 > > > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
