Guillaume Nodet created MNG-8294:
------------------------------------
Summary: Add a consistency check when loading parent
Key: MNG-8294
URL: https://issues.apache.org/jira/browse/MNG-8294
Project: Maven
Issue Type: Improvement
Reporter: Guillaume Nodet
Fix For: 4.0.0-beta-5
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)