删除依赖包重新下载试试,实在不行就到Maven中央仓库手动下载依赖...




张雷(Evan)

中航信华东数据中心有限责任公司

Mail:evanitsh...@gmail.com

发件人: jamemeng
发送时间: 2014-06-22 03:57
收件人: users-cn
主题: 安装cs4.3:进入cs源码下载依赖包 $mvn -P deps 报错:
[WARNING] The requested profile "deps" could not be activated because it does 
not exist. 
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-pmd-plugin:3.1:pmd (pmd) on project cloud-core: 
Execution pmd of goal org.apache.maven.plugins:maven-pmd-plugin:3.1:pmd failed: 
Plugin org.apache.maven.plugins:maven-pmd-plugin:3.1 or one of its dependencies 
could not be resolved: Failed to collect dependencies for 
org.apache.maven.plugins:maven-pmd-plugin:jar:3.1 (): Failed to read artifact 
descriptor for org.apache.maven.reporting:maven-reporting-impl:jar:2.1: Could 
not transfer artifact org.apache.maven.reporting:maven-reporting-impl:pom:2.1 
from/to central (http://repo.maven.apache.org/maven2): repo.maven.apache.org: 
Unknown host repo.maven.apache.org -> [Help 1] 
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch. 
[ERROR] Re-run Maven using the -X switch to enable full debug logging. 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles: 
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException 
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the 
command 
[ERROR] mvn <goals> -rf :cloud-core 

是不是缺少包呀? 折磨呀,大拿帮忙呀

回复