Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 1.1.1, 1.1.3, 1.2-M1, 1.2
-
Fix Version/s: 1.2
-
Component/s: remote proxy
-
Labels:None
-
Environment:I have the problem in production (Linux + archiva 1.1.1)
I reproduced it on my laptop (XP with archiva 1.1.1, 1.1.3, 1.2-M1 and trunk)
-
Testcase included:yes
-
Number of attachments :
Description
Use case :
- I want to use idl-maven-plugin 1.1-SNPASHOt from codehaus
- In archiva I have a group (snapshots) with behind a managed repository (snapshots-proxy) which proxify http://snapshots.repository.codehaus.org/
- When I launch the build of the project, archiva download metadata for 1.1-SNAPSHOT from codehaus in maven-metadata-codehaus-snapshots.xml which is fine
- But it creates an empty maven-metadata.xml
- Maven receive this empty file and try to download 1.1-SNAPSHOT artifacts instead of the last timestamp.
I attach :
- A minimal project which uses a local archiva
- The achiva config file (be careful to deactivate/change the network proxy)
- maven-metadata-codehaus-snapshots.xml and maven-metadata.xml
This morning I noticed that archiva has a maven-metadata.xml which is my yesterday's maven-metadata-codehaus-snapshots.xml
And my maven-metadata-codehaus-snapshots.xml is updated from the one in codehaus repo.
There's a problem of sync between the main maven-metadata.xml and the remote one (maven-metadata-codehaus-snapshots.xml)
I didn't have a look at the code but I think that the merge process isn't call after having update a remote copy...