首页 > mvn install出现问题

mvn install出现问题

各位大神有解决办法么?在intellij上是正常运行的。使用命令行mvn install就出现这个问题。

ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6: 1 problem was encountered while building the effective model for org.apache.maven.plugins:maven-resources-plugin:2.6
[ERROR] [FATAL] Non-parseable POM /Users/zomake/.m2/repository/org/apache/maven/plugins/maven-plugins/23/maven-plugins-23.pom: end tag name </body> must match start tag name <hr> from line 836 (position: START_TAG seen ...          10-Nov-2009 12:12                  26\r\n</pre><hr></body>... @836:18)  @ /Users/zomake/.m2/repository/org/apache/maven/plugins/maven-plugins/23/maven-plugins-23.pom, line 836, column 18
[ERROR] -> [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

自己找到答案了。。。这个是因为使用了非官方源而导致插件无法下载引起的。出现这个问题只要不要使用非官方的源便可以。

【热门文章】
【热门文章】