[Maven] Maven plug-ins articles --- maven project mvn install error: Failed to execute goal on project Project name: Could not resolve dependencies for project

Reference: Maven practical tips

https://msd.misuland.com/pd/3255817963235707346

 

 

Error:

maven project mvn install error: 

[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]

 

 

 

Solution:

 Can be executed, the module that is designated continuing compiled before

mvn -rf project module name

After the execution can see the detailed reasons for the warnings, and Error,

 

Guess you like

Origin www.cnblogs.com/sxdcgaq8080/p/12640982.html