Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0-beta-2
-
Component/s: None
-
Labels:None
-
Environment:Archiva as a repository proxy for maven1
-
Patch Submitted:Yes
Description
When a maven1 client asks for /servletapi/jars/servletapi-2.4.jar, Archiva converts path to the maven2 location of this artifact. As maven1 has no relocation support, the jar is required in the repo.
Archiva can be more that a proxy : download the artifact POM, read relocation infos, and return the relocated jar.
attached Patch add a new "applyRelocation" to DefaultProxyManager.
I've tried this code with the servletapi example, but it may be bad designed as I just discovered maven / archiva APIs.
Issue Links
- is duplicated by
-
MRM-309
relocated artifacts are not delivered
-
Patch updated for "archiva" renamed project.