Maven父子项目打包子项目出现Failed to collect dependencies问题

Maven父子项目打包子项目出现Failed to collect dependencies问题

IT小君   2021-02-24T08:39:42

错误如下:

 Failed to execute goal on project project-name: Could not resolve dependencies for project xxx.xxx.xxx.xx:jar:1.0: Failed to collect dependencies for [xxx.xxx.xxx.xxx:jar:1.0 (compile), ......] 

 

解决方法: 

先打包父工程,然后在打包子模块就可以解决以上问题。

评论(0)