I'm using archiva to proxy http://dist.codehaus.org (maven1-legacy
repository)

This repo contains xdoclet2 maven plugin :
http://dist.codehaus.org/xdoclet/maven-plugins/

Having configured archiva as a mirror, maven tries to download :
http://archiva:8080/repository/maven/xdoclet/maven2-xdoclet2-plugin/2.0.5/maven2-xdoclet2-plugin-2.0.5.jar
that fails.

using
http://archiva:8080/repository/maven/xdoclet/maven2-xdoclet2-plugin/2.0.5/maven2-xdoclet2-plugin-2.0.5.maven-pluginworks
fine.

What is the expected behaviour :
1 - shouldn't dist.codehaus.org use a "maven-plugins" type ?
2 - how could archiva now we are expecting a maven plugin ?

For this second point, archiva could
- use the "*-plugin" pattern to detect the expected type, but this looks
like a hack
- read the POM for the requested artifact to get the type. Looks better but
more work to code...

Any suggestion ?

Reply via email to