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

Add a consistency check when loading parent

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-beta-5
    • None
    • None

    Description

      MNG-2196 provides an IT which was failing, but for the wrong reason.  With the addition of GAV inference in Maven 4, we need to revisit this bit to:

      • move the default parent relativePath .. as a default value when loading the parent, rather than as a default value in the model
      • this will allow checking consistency between the provided value (if there's one) and the loaded model and fail if not equals

      In short, if the parent relativePath is provided, it should be correct, else Maven 4 can find it automatically in the reactor, else load it from repository. In the first case, we need to verify the correct GAV.

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              gnodet Guillaume Nodet
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: