Maven无法转移工件junit:junit:jar:3.8.1

时间:2012-05-28 17:11:01

标签: maven maven-2

我的软件版本:

异常消息:

  

Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources failed: Plugin org.apache.maven.plugins:maven-resources-plugin:2.4.3 or one of its dependencies could not be resolved: Failure to transfer junit:junit:jar:3.8.1 from http://repo1.maven.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 artifact junit:junit:jar:3.8.1 from/to central (http://repo1.maven.org/maven2)**: The operation was cancelled. (org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources:default-resources:process-resources)

但是junit:junit:jar:3.8.1可以通过以下链接找到: http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22junit%22%20AND%20a%3A%22junit%22%20AND%20v%3A%223.8.1%22

没有任何HTTP代理。

我该如何解决这个问题?欢迎任何建议!

0 个答案:

没有答案