本文主要是介绍maven clean 出错,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
修改过settings配置的
<localRepository>E:\apache-maven-3.6.3\repo</localRepository>
之后。执行mvn clean、package等命令导致出错。
[ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dep
endencies could not be resolved: Failed to read artifact descriptor for org.apac
he.maven.plugins:maven-clean-plugin:jar:2.5: 1 problem was encountered while bui
lding the effective model for org.apache.maven.plugins:maven-clean-plugin:2.5
注释掉localRepository的配置,使用默认的.m2即可,估计是因为本地库比.m2内缺少了依赖导致。
这篇关于maven clean 出错的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!