Maven
  1. Maven
  2. MNG-4687

Maven should not warn about incorrect parent path when no relativePath is specified

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Auto Closed
    • Affects Version/s: 3.0-beta-1
    • Fix Version/s: None
    • Component/s: Logging
    • Labels:
      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.

        Issue Links

          Activity

          Michael Osipov made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Auto Closed [ 10000 ]
          Mark Thomas made changes -
          Workflow jira [ 12951381 ] Default workflow, editable Closed status [ 12987657 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
          Mark Thomas made changes -
          Workflow jira [ 12714971 ] Default workflow, editable Closed status [ 12754609 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
          Paul Gier made changes -
          Link This issue is duplicated by MNG-5146 [ MNG-5146 ]
          Stan Devitt made changes -
          Link This issue is depended upon by MNG-2026 [ MNG-2026 ]
          Benjamin Bentmann made changes -
          Field Original Value New Value
          Link This issue is related to MNG-4619 [ MNG-4619 ]
          Paul Gier created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Paul Gier
            • Votes:
              29 Vote for this issue
              Watchers:
              33 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development