Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5268

Check the version of the parent POM, too

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 3.0.3, 3.0.4
    • None
    • POM
    • None

    Description

      When doing a multi-module build, Maven checks that the coordinates of the parent POM matches what you'd get by reading the POM via relativePath but it doesn't check the version.

      This can cause subtle bugs if the coordinates are correct but one forgets to update the version of all modules after the parent version changes.

      Please print a warning if the version in the <parent> element doesn't match the version of the POM read via relativePath.

      Attachments

        Activity

          People

            Unassigned Unassigned
            digulla Aaron Digulla
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: