Maven
  1. Maven
  2. MNG-5268

Check the version of the parent POM, too

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: 3.0.3, 3.0.4
    • Fix Version/s: None
    • Component/s: POM
    • Labels:
      None
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      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.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Aaron Digulla
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: