mvn help:system 报错,求大神解决

2018-05-03 00:27:03 +08:00
 adli007

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------

[INFO] Total time: 23.323 s [INFO] Finished at: 2018-05-03T00:21:08+08:00 [INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-help-plugin:3.0.1:system (default-cli) on project standalone-pom: Execution default-cli of goal org.apache.maven.plugins:maven-help-plugin:3.0.1:system failed: Plugin org.apache.maven.plugins:maven-help-plugin:3.0.1 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven:maven-artifact:jar:3.0, org.apache.maven:maven-settings-builder:jar:3.0, commons-lang:commons-lang:jar:2.4, net.sf.jtidy:jtidy:jar:r938: Could not transfer artifact org.apache.maven:maven-artifact:jar:3.0 from/to central ( https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.52.215] failed: Connection timed out: connect -> [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

2330 次点击
所在节点    程序员
1 条回复
biggray0312
2018-05-03 06:39:25 +08:00
看起来是网络问题,试下换个网络或者加个代理呢 再或者换个 repository

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/451609

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX