citerus / dddsample-core

This is the new home of the original DDD Sample app (previously hosted at sf.net)..
MIT License
4.97k stars 1.47k forks source link

Specifies project.parent.relativePath. #35

Closed DanilSuits closed 5 years ago

DanilSuits commented 6 years ago

Maven reports warnings if the project, as is, is used as a submodule with a pom files in the parent directory, because that pom isn't the parent pom.

If we override the default value for the relativePath, maven will look for the parent pom in the repositories, which is the behavior we want and eliminates the warnings.

See: https://maven.apache.org/ref/3.0.5/maven-model/apidocs/org/apache/maven/model/Parent.html#getRelativePath()