[ http://jira.codehaus.org/browse/MRM-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_108281 ]
Joakim Erdfelt commented on MRM-519: ------------------------------------ I have added a commented unit test into RepositoryLayoutUtilsTest called .testSplitFilenameMavenTestPlugin() that mimics the split process logic from maven 2 and maven 1. Feel free to uncomment that test case in order to test your patch. > 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