archiva fails to serve maven2 plugin from legacy repository
-----------------------------------------------------------
Key: MRM-313
URL: http://jira.codehaus.org/browse/MRM-313
Project: Archiva
Issue Type: Improvement
Components: remote proxy
Affects Versions: 1.0
Reporter: nicolas de loof
Priority: Minor
Archiva is configured to proxy http://dist.codehaus.org/ (legacy layout)
the xdoclet2 maven2 plugin is deployed under /xdoclet/maven-plugins. This looks
right as the type is set to "maven-plugin".
trying to download
http://archiva/repository/maven/xdoclet/maven2-xdoclet2-plugin/2.0.5/maven2-xdoclet2-plugin-2.0.5.jar
fails
archiva has no info from the specified URL about trying to get a maven-plugin !
http://archiva/repository/maven/xdoclet/maven2-xdoclet2-plugin/2.0.5/maven2-xdoclet2-plugin-2.0.5.maven-plugin
works as expected.
2 options (suggestions are wecome) :
- use a "-plugin" pattern that a plugin is required (just a hack, and
requires all plugin to follow this convention)
- read the requested artifact POM to get the artifact type.
--
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