Java Maven central repo:返回代码为:503,原因短语:后端读取错误
在我们项目的持续集成系统(travis ci.org)中,我开始发现错误:Java Maven central repo:返回代码为:503,原因短语:后端读取错误,java,maven,Java,Maven,在我们项目的持续集成系统(travis ci.org)中,我开始发现错误: [ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.4.6-SNAPSHOT:start (start-container) on project p6spy-it: Failed resolving artifact: Could not transfer artifact org.jboss.jbossas:jboss-as-
[ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.4.6-SNAPSHOT:start (start-container) on project p6spy-it: Failed resolving artifact: Could not transfer artifact org.jboss.jbossas:jboss-as-distribution:zip:6.1.0.Final from/to central (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/org/jboss/jbossas/jboss-as-distribution/6.1.0.Final/jboss-as-distribution-6.1.0.Final.zip. Return code is: 503 , ReasonPhrase:backend read error.
[ERROR] org.jboss.jbossas:jboss-as-distribution:zip:6.1.0.Final
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] codehaus-snapshots (http://nexus.codehaus.org/snapshots/, releases=false, snapshots=true),
[ERROR] cloudbees-release (http://repository-p6spy.forge.cloudbees.com/release, releases=true, snapshots=false),
[ERROR] sonatype (https://oss.sonatype.org/content/repositories/releases/, releases=true, snapshots=false),
[ERROR] sonatype-snapshots (https://oss.sonatype.org/content/repositories/snapshots/, releases=false, snapshots=true),
[ERROR] sonatype-apache (https://repository.apache.org/releases/, releases=true, snapshots=false),
[ERROR] apache-snapshots (https://repository.apache.org/snapshots/, releases=false, snapshots=true),
[ERROR] sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots, releases=false, snapshots=true),
[ERROR] central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false)
完整构建输出可以在以下位置看到:
如果我通过浏览器访问有问题的url:
我也会遇到同样的错误:
Error 503 backend read error
然而有一天,一切都很好
我该怎么办/怎么解决?只需等待他们刷新一些内部缓存?如果下载远程工件对您的构建至关重要,您是否考虑过运行自己的Nexus实例
mvn install:install-file \
-Dfile=jboss-as-distribution-6.1.0.Final.zip \
-DpomFile=jboss-as-distribution-6.1.0.Final.pom
似乎“返回代码是:503,ReasonPhase:后端读取错误”。当目标zip文件较大时,会发生错误。我在下载appengine-java-sdk-1.9.0.zip时遇到了相同的错误。好吧,我的问题是在travis-ci.org=>托管的maven repo上运行的构建不是一个选项,因为我们只使用免费的东西(与github合作-我们的项目:)。还有maven搜索的url?同时,我只是下载了http,我可能会更新到搜索服务URL的链接,因为这些链接更多地绑定到maven。不管怎样,当我们处理货物时,我已经创建了错误报告:您仍然回答了我的问题,谢谢。