Non-resolvable parent POM using Maven 3.0.3 and relativePath notation

后端 未结 8 2234
既然无缘
既然无缘 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 21:57

    
            com.test.vaquar.khan
            vk-parent
            1.0.0-SNAPSHOT
            ../projectname/pom.xml
        
    

    Add following line in parent

    ../projectname/pom.xml
    

    You need relative path if you are building from local parent pom not available in nexsus, add pom in nexus then no need this path

提交回复
热议问题