You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2007/10/09 17:04:54 UTC
[jira] Commented: (MRM-519) fail to resolve artifactId for libs
that contain versionKeyword in artifactId, like "maven-test-plugin"
[ http://jira.codehaus.org/browse/MRM-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_109404 ]
Brett Porter commented on MRM-519:
----------------------------------
this looks like a case of the current regex (which differs from the one I've used before for the .htaccess file on the central repository) being over-predictive about "test". I think John added this to take care of some edge cases in conversion of the repository - maybe we need to reconsider whether that particular pattern is really needed, or otherwise add another sanity check about the extension and the type in path.
> 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