0

jenkinsマシンサーバーでコードカバレッジを説明するジョブを実行していますジョブはコマンドemme:emmaを実行しており、Mavenリポジトリから依存関係をダウンロードしようとすると失敗し続けます:次のログを確認できます。

    INFO] ------------------------------------------------------------------------
[WARNING] Failure to transfer org.apache.maven.plugins/maven-metadata.xml from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of External-Central has elapsed or updates are forced.
          Original error: Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to External-Central (http://repo1.maven.org/maven2):
          Connection to http://repo1.maven.org refused
[WARNING] Failure to transfer org.apache.maven.plugins/maven-metadata.xml from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced.
          Original error: Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to central (http://repo.maven.apache.org/maven2):
          Connection to http://repo.maven.apache.org refused
[WARNING] Failure to transfer org.codehaus.mojo/maven-metadata.xml from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of External-Central has elapsed or updates are forced.
          Original error: Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to External-Central (http://repo1.maven.org/maven2):
          Connection to http://repo1.maven.org refused
[WARNING] Failure to transfer org.codehaus.mojo/maven-metadata.xml from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. 
          Original error: Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to central (http://repo.maven.apache.org/maven2):
          Connection to http://repo.maven.apache.org refused
[WARNING] Failure to transfer org.codehaus.mojo:emma-maven-plugin/maven-metadata.xml from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of External-Central has elapsed or updates are forced.
          Original error: Could not transfer metadata org.codehaus.mojo:emma-maven-plugin/maven-metadata.xml from/to External-Central (http://repo1.maven.org/maven2): 
          Connection to http://repo1.maven.org refused
[WARNING] Failure to transfer org.codehaus.mojo:emma-maven-plugin/maven-metadata.xml from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced.
          Original error: Could not transfer metadata org.codehaus.mojo:emma-maven-plugin/maven-metadata.xml from/to central (http://repo.maven.apache.org/maven2): 
          Connection to http://repo.maven.apache.org refused

よろしくお願いしますNir

4

1 に答える 1

2

ここでループを閉じるための答えとしてコメントを投稿する:

MavenCentralへの接続を拒否するファイアウォールの背後にいないことを確認してください

于 2013-03-05T18:59:40.490 に答える