每隔幾周我的Hudson構建失敗,我得到這個錯誤輸出。當我刪除我的整個.m2 \ repository \ org \ apache \ maven \ wagon \ wagon-webdav目錄並啓動另一個沒有依賴關係的版本時,它可以解決問題幾個星期。Hudson失敗Maven2構建零星 - 缺少webdav
我從來沒有看到哈德遜以外的這個錯誤。我在Maven 2.2.1和Hudson 1.378上。
[INFO] Scanning for projects...
[INFO] artifact org.apache.maven.wagon:wagon-webdav: checking for updates from relrepo
[INFO] artifact org.apache.maven.wagon:wagon-webdav: checking for updates from central
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.maven.wagon:wagon-webdav:jar:RELEASE
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.maven.wagon -DartifactId=wagon-webdav -Dversion=RELEASE -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.maven.wagon -DartifactId=wagon-webdav -Dversion=RELEASE -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.my-company-project:1.0-SNAPSHOT
2) org.apache.maven.wagon:wagon-webdav:jar:RELEASE
哈德森運行64位jvm的64位機器上? – krosenvold 2010-12-22 18:09:09
32位機器和jvm – Andy 2010-12-22 18:54:11