Skip to content

Commit 4545cdb

Browse files
author
Danil
committed
Specifies project.parent.relativePath.
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()
1 parent 700be64 commit 4545cdb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<groupId>org.springframework.boot</groupId>
1010
<artifactId>spring-boot-starter-parent</artifactId>
1111
<version>1.5.10.RELEASE</version>
12+
<relativePath></relativePath>
1213
</parent>
1314
<description>This application shows a few key concepts of
1415
Domain Driven Design implemented in Enterprise Java.

0 commit comments

Comments
 (0)