candrews commented on PR #1210:
URL: https://github.com/apache/maven/pull/1210#issuecomment-1651879214

   > And to do what? I don't see where is the error message adjusted... what do 
i miss?
   
   The new test case at 
https://github.com/apache/maven/blob/78da8ff662d9c9e0ba87aa2138114d8fd393855c/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java#L120
 demonstrates how the message changes. Before this PR, the message in this case 
is `'modelVersion' of '4.0' is newer than the versions supported by this 
version of Maven: [4.0.0]. Building this project requires a newer version of 
Maven.` And with this PR, as this test case proves, the error message is 
`'modelVersion' must be one of [4.0.0] but is '4.0'.`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to