Just for reference.

The joys of Maven.

Putting the relative path of the modules to ../pom.xml solved it.

The parent element has a relativePath element that you need to point to the directory of the parent. It defaults to


原文:https://stackoverflow.com/questions/7612309/maven-non-resolvable-parent-pom