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

后端 未结 4 1370
南方客
南方客 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 20:53

    I assume the question is already answered. If above solution doesn't help in solving the issue then can use below to solve the issue.

    The issue occurs if sometimes your maven user settings is not reflecting correct settings.xml file.

    To update the settings file go to Windows > Preferences > Maven > User Settings and update the settings.xml to it correct location.

    Once this is doen re-build the project, these should solve the issue. Thanks.

提交回复
热议问题