在使用mvn clean compile的时候出现了一个错误

3Scofield 发布于 2016/06/06 13:43
阅读 898
收藏 0
mvn
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default-resources) on project O2O-Co
mmon: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources failed: Plugin org.apache.
maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: The following artifacts could not be re
solved: org.apache.maven:maven-project🏺2.0.6, org.apache.maven:maven-profile🏺2.0.6, org.apache.maven:maven-artifact-manage
r🏺2.0.6, org.apache.maven:maven-plugin-registry🏺2.0.6, org.apache.maven:maven-core🏺2.0.6, org.apache.maven:maven-plugi
n-parameter-documenter🏺2.0.6, org.apache.maven:maven-repository-metadata🏺2.0.6, org.apache.maven:maven-error-diagnostics:j
ar:2.0.6, org.apache.maven:maven-plugin-descriptor🏺2.0.6, classworlds:classworlds🏺1.1, org.apache.maven:maven-artifact:jar
:2.0.6, org.apache.maven:maven-settings🏺2.0.6, org.apache.maven:maven-model🏺2.0.6, org.apache.maven:maven-monitor🏺2.0.
6, org.codehaus.plexus:plexus-container-default🏺1.0-alpha-9-stable-1: Could not transfer artifact org.apache.maven:maven-proje
ct🏺2.0.6 from/to central (https://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 :O2O-Common

加载中
返回顶部
顶部