简体   繁体   中英

Maven build failed

I am trying to import a current maven project and the build fails throwing this error.

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]

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM