fail to resolve artifactId for libs that contain versionKeyword in artifactId, 
like "maven-test-plugin"
-------------------------------------------------------------------------------------------------------

                 Key: MRM-519
                 URL: http://jira.codehaus.org/browse/MRM-519
             Project: Archiva
          Issue Type: Bug
          Components: remote proxy
    Affects Versions: 1.0-beta-2
            Reporter: nicolas de loof
         Attachments: RepositoryLayoutUtils.patch

Trying to get maven-test-plugin (using maven1) fails in 404. Archiva is 
searching for
"\maven\maven\test-plugin-1.8.2\maven-test-plugin-1.8.2.jar"

RepositoryLayoutUtils tries to detect the artifact Id by searching for some 
version keyword in the request string. As "test[09]*" is a version keyword, it 
resolves to "maven".

The attached path add the feature of checking that all tokens in the version 
part - all after artifactId expect the latest (classifier) - are valid version 
keywords.

-- 
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

        

Reply via email to