gnodet opened a new pull request, #12346: URL: https://github.com/apache/maven/pull/12346
Forward-port of PR #11985 from maven-3.10.x to master, plus extension coordinate validation. ## Changes ### MDO annotation cleanup (forward-port of #11985) Removes `<required>true</required>` from 13 fields in `maven.mdo` that were never validated and whose enforcement would break existing POMs. Updates `Model.name` description to document artifactId fallback. ### Extension coordinate validation (new) Adds WARNING-level validation for missing `build.extensions.extension.groupId` and `build.extensions.extension.artifactId` in `DefaultModelValidator`. These were the most actionable validation gaps identified in #11979. ### Tests - Unit tests for extension coordinate validation (missing-extension-coordinates.xml) - Minimal POM validation tests (with/without parent) Fixes #11979 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
