问题出现环境:
本人遇到的出错异常环境是spring boot 父子项目,在执行maven clean 的时候出现了
Could not find artifact com.ins.mqserver:mq-server-api:pom:0.0.1-SNAPSHOT 这个错误。
解决方法:
将子项目中的 <relativePath/> 这个去掉,然后在执行 maven clean 问题解决。
或者 <relativePath> ../xxx/xxx/pom.xml </relativePath> 写上父类的pom文件地址。
可能原因:http://bcxw.net/article/621.html