mavenMaven插件篇 --- maven项目 mvn install 报错: Failed to execute goal on project 项目名: Could not resol(代
Posted Angel挤一挤
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mavenMaven插件篇 --- maven项目 mvn install 报错: Failed to execute goal on project 项目名: Could not resol(代相关的知识,希望对你有一定的参考价值。
参考:Maven实用技巧
https://msd.misuland.com/pd/3255817963235707346
报错:
maven项目 mvn install 报错:
[ERROR] Failed to execute goal on project 项目名XXX: Could not resolve dependencies for project com.项目名XXX:war:1.0.0-SNAPSHOT: Failure to find 项目名1XXX:jar:0.1.0-SNAPSHOT in 远程Maven仓库地址 was cached in the local repository, resolution will not be reattempted until the update interval of releases has elapsed or updates are forced -> [Help 1]
解决方式:
可以执行 ,即指定之前模块继续编译
mvn -rf 项目模块名
执行后可以看到 详细的 警告 以及Error的原因,
以上是关于mavenMaven插件篇 --- maven项目 mvn install 报错: Failed to execute goal on project 项目名: Could not resol(代的主要内容,如果未能解决你的问题,请参考以下文章