[
http://jira.codehaus.org/browse/MRM-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_108280
]
Joakim Erdfelt commented on MRM-519:
------------------------------------
The attached patch causes 5 unit test errors, and 10 failures.
* LegacyBidirectionalRepositoryLayoutTest
** (x) .testGoodFooLibJavadoc()
** (x) .testGoodFooLibSources()
** (!) .testGoodLdapClientsPom()
** (!) .testGoodSnapshotMavenTest()
* DefaultBidirectionalRepositoryLayoutTest
** (x) .testGoodFooLibSources()
** (x) .testGoodSnapshotMavenTest()
** (x) .testGoodDashedArtifactId()
* RepositoryLayoutUtilsTest
** (!) .testSplitFilenameAlphaVersion()
** (!) .testSplitFilenameSnapshot()
** (!) .testSplitFilenameUniqueSnapshot()
** (!) .testSplitFilenameBasicClassifier()
** (!) .testSplitFilenameAlphaClassifier()
** (!) .testSplitFilenameSnapshotClassifier()
** (!) .testSplitFilenameUniqueSnapshotClassifier()
** (!) .testSplitFilenameApacheIncubator()
Can you update the patch so that previous unit tests pass?
> 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