Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Auto Closed
-
3.0-beta-1
-
None
-
None
Description
If a module pom uses a parent other than the one in the parent directory, maven logs a warning. In some cases it is necessary that a module pom has an external parent pom, and there is no way to refer to this external pom in the relativePath. If nothing is specified in the relativePath, Maven should not log the warning.
[WARNING] 'parent.relativePath' of POM org.maven.test:relative-path-parent:0.0.1-SNAPSHOT (/home/pgier/projects/MNG-relativePath/module-1/pom.xml) points at org.maven.test:relative-path-test instead of org.apache.maven:maven-parent, please verify your project structure @
The attached zip reproduces the warning.
Attachments
Attachments
Issue Links
- is depended upon by
-
MNG-2026 Document how parent-child POM relationships, <modules/>, and <parent><relativePath/> works
- Closed
- is duplicated by
-
MNG-5146 parent.relativePath Warning is very misleading
- Reopened
- is related to
-
MNG-4619 Issue warning in case parent.relativePath points at POM with different groupId/artifactId
- Closed