“Non-resolvable parent POM: Could not transfer artifact” when trying to refer to a parent pom from a child pom with ${parent.groupid}

后端 未结 4 1377
南方客
南方客 2021-02-12 20:40

I\'m following a tutorial for maven. I have a very simple project with a couple of modules inside. On the module pom I want to reference the main proyect pom version and group t

4条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-12 21:13

    As Nayan said the Path has to updated properly in my case the apache-maven was installed in C:\apache-maven and settings.xml was found inside C:\apache-maven\conf\settings.xml

    if this doesn't work go to your local repos
    in my case C:\Users\<<"name">>.m2\
    and search for .lastUpdated and delete them
    then build the maven

提交回复
热议问题