Non-resolvable parent POM using Maven 3.0.3 and relativePath notation

后端 未结 8 2196
既然无缘
既然无缘 2021-02-03 21:19

After migrating to Mavent 3.0.3 Parent poms in several Projects cannot be resolved anymore.

The Projects are structured in a default manner, so I set parent.relativePath

8条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-03 22:07

    'parent.relativePath' points at wrong local POM @ myGroup:myParentArtifactId:1.0, C:\myProjectDir\parent\pom.xml

    This indicates that maven did search locally for the parent pom, but found that it was not the correct pom.

    • Does pom.xml of parentpom correctly define the parent pom as the pom.xml of rootpom?
    • Does rootpom folder contain pom.xml as well as the paretpom folder?

提交回复
热议问题