[ http://jira.codehaus.org/browse/MRM-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_108301 ]
nicolas de loof commented on MRM-519: ------------------------------------- I just discovered my patch is not applicable as it breaks use of classifiers with "-", like the official "java-with-dependencies" packaged with the assembly plugin. I quick&dirty solved this for my archiva instance by removing "test[09]*" from the versionKeyword list. Any better solution is welcome. > 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 > Assignee: Joakim Erdfelt > Fix For: 1.0-beta-3 > > 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