mvn install 出现错误

雅翼_ 发布于 2016/03/23 14:35
阅读 897
收藏 0
在mvn install -Dmaven.test.skip=true这一步的时候出现了这样的错误:
[ERROR] Plugin org.apache.maven.plugins:maven-enforcer-plugin:1.4.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-enforcer-plugin🏺1.4.1: Could not transfer artifact org.apache.maven.plugins:maven-enforcer-plugin:pom:1.4.1 from/to central (http://repo1.maven.org/maven2): repo1.maven.org: Temporary failure in name resolution: Unknown host repo1.maven.org: Temporary failure in name resolution -> [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

加载中
0
君枫
君枫

没有必要自己编译打包

1 部署好hbase1.0.x

pinpoint-collector-1.5.2.war 和 pinpoint-web-1.5.2.war 直接丢到tomcat中

3 放置并解压pinpoint-agent-1.5.2.tar.gz

4 jvm启动参数增加 -javaagent:/{pinpoint-agent路径}/pinpoint-bootstrap-$VERSION.jar -Dpinpoint.agentId= ${agent名称} -Dpinpoint.applicationName=${应用名}

君枫
君枫
还有个hbase在collector和web中的配置,可以看下这个:http://www.oschina.net/question/2464521_2147841
0
FeiFeiZheng
FeiFeiZheng
网络不稳定, 导致访问不了中央仓库 http://repo1.maven.org/maven2 
0
阿信sxq
阿信sxq
把那个插件本地的缓存清除一下,等网络好点了再执行试试
返回顶部
顶部