公司新开发一个项目,写了一个多月,今天打包测试,结果发现打包不了,
报错信息如下
Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable parent POM for com.ydart:ydart-order-client:1.1.0: Failure to find com.ydart:ydart-cloud:pom:1.1.0 in http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of alimaven has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 6, column 13 -> [Help 2]
网上说是因为层级太多,导致混乱
解决如下
子模块的
<parent>
<relativePath>../pom.xml</relativePath>
</parent>标签中加入
再进行打包,打包完成后,还原重新打包,就不会报错