[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 

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

回复