Non-resolvable parent POM: When building Maven 3 Project Site

前端 未结 3 1224
别跟我提以往
别跟我提以往 2021-02-04 06:07

I am currently facing the following problem with Maven 3 when I am trying to build the site. I will appreciate you help on this.

mvn clean site

         


        
3条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-04 06:26

    The problem is not in your pom files. When I built your aggregation-pom, Maven downloaded normally the parent-pom from the remote repo (after I deleted from my local repo).

    Try this:

    mvn -U clean install site dependency:purge-local-repository
    

    Additionally, you could do some clean up:

    • remove from all of them
    • remove 0.1-SNAPSHOT and my.com from projA and ProjB (they are inherited from the parent)

提交回复
热议问题