Maven构建失败

时间:2014-08-01 18:49:30

标签: java eclipse maven

我正在尝试导入当前的maven项目,并且构建失败会抛出此错误。

Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: 
Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.5: 
Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.5 from/to central (http://repo.maven.apache.org/maven2): 
Connect to repo.maven.apache.org:80 [repo.maven.apache.org/23.235.46.209] failed: Connection timed out: connect -> [Help 1]

1 个答案:

答案 0 :(得分:0)

检查您的网络是否存在代理,并且您的settings.xml(Maven)的配置是否正确。