分类: Java
2013-01-30 20:04:02
转载自:http://meifage.iteye.com/blog/1090217
mvn help:system最后出错:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-help-plugin:2.1.1:
system (default-cli) on project standalone-pom: Execution default-cli of goal or
g.apache.maven.plugins:maven-help-plugin:2.1.1:system failed: Plugin org.apache.
maven.plugins:maven-help-plugin:2.1.1 or one of its dependencies could not be re
solved: Could not transfer artifact org.apache.maven.plugin-tools:maven-plugin-t
ools-api:jar:2.4.3 from/to central (
onException
解决:设置HTTP代理
编辑~/.m2/settings.xml文件添加代理配置如下:
…
…
2)Could not calculate build plan: Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from