每隔几周我的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