Maven:Non-resolvable parent POM and 'parent.relativePath' points at wrong local POM

后端 未结 6 1528
独厮守ぢ
独厮守ぢ 2021-02-02 07:35

I am using maven 3 to run the application but I am getting the following error:

[ERROR] The build could not read 1 project -> [Help 1]
org.apache.maven.projec         


        
6条回答
  •  后悔当初
    2021-02-02 08:06

    I'm probably a bit late to the party, but I wrote the junitcategorizer for my thesis project at TOPdesk. Earlier versions indeed used a company internal Parent POM. So your problems are caused by the Parent POM not being resolvable, since it is not available to the outside world.

    You can either:

    • Remove the block, but then have to configure the Surefire, Compiler and other plugins yourself
    • (Only applicable to this specific case!) Change it to point to our Open Source Parent POM by setting:
    
        com.topdesk
        open-source-parent
        1.2.0
    
    

提交回复
热议问题