[
http://jira.codehaus.org/browse/MNG-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joakim Erdfelt updated MNG-2800:
--------------------------------
Priority: Minor (was: Major)
> Default layout .pathOf(Artifact) resolution of SNAPSHOT incorrect.
> ------------------------------------------------------------------
>
> Key: MNG-2800
> URL: http://jira.codehaus.org/browse/MNG-2800
> Project: Maven 2
> Issue Type: Bug
> Components: General
> Affects Versions: 2.0.4
> Reporter: Joakim Erdfelt
> Priority: Minor
>
> When working with SNAPSHOT deps from within Archiva, the resolution of the
> Artifact to a file system path is incorrect.
> Example:
> * groupId: {{com.foo}}
> * artifactId: {{foo-lib}}
> * version: {{1.0-20070130.172557-1}}
> * type: {{jar}}
> Resolves to the incorrect path
> {{/com/foo/foo-lib/1.0-20070130.172557-1/foo-lib-1.0-20070130.172557-1.jar}}
> It should be
> {{/com/foo/foo-lib/1.0-SNAPSHOT/foo-lib-1.0-20070130.172557-1.jar}}
> This is the apparent fault of
> org.apache.maven.artifact.repository.layout.DefaultRepositoryLayout.pathOf(Artifact)
> method not having a check for .isSnapshot()
--
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