Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Cannot Reproduce
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
If you have a mirrors section in your.m2/ settings.xml the plugin will loop infinitely when downloading jars not in your local repository.
This is due to a wagon bug (I have logged this as http://jira.codehaus.org/browse/WAGON-73).
I was able to fix by:
Checkout https://svn.apache.org/repos/asf/maven/wagon
Applying the suggested fixes (see WAGON-73)
Recompile (mvn install)
Copy target/classes/org/apache/maven/wagon/manager/MirroredWagon.class into maven-embedder-2.1.0.v20070221-2149-dep.jar
I could not work out how to rebuild the entire maven-embedder from source.
Attachments
Issue Links
| This issue is duplicated by: | ||||
| MNGECLIPSE-363 | Endless loop while downloading updates |
|
|
|
| This issue depends upon: | ||||
| WAGON-73 | MirroredWagon infinite loop |
|
|
|
| WAGON-75 | m2eclipse is having issues with wagon |
|
|
|
Please try with 0.0.11 dev build and if it is still there, provide settings.xml as well as complete sample project that would allow to reproduce this issue.