Skip to content

document modelVersion supported values#11810

Draft
hboutemy wants to merge 1 commit intomaven-4.0.xfrom
doc/modelVersion
Draft

document modelVersion supported values#11810
hboutemy wants to merge 1 commit intomaven-4.0.xfrom
doc/modelVersion

Conversation

@hboutemy
Copy link
Member

equivalent to #11809 for Maven 3.x

IIUC from CLI tests, in Maven 4.0.0-rc5, not defining any value is also supported, which will trigger inference based on namespace and/or xsd: we'll need to write something about it

notice that Modello model saying required=true for this field is not true any more...

based on current discussions on ML and PR #10952, maybe this will change in the future, we still don't have a definitive choice done: documenting the current state remains useful, we'll update later if necessary

@hboutemy hboutemy added the documentation Improvements or additions to documentation label Mar 18, 2026
@hboutemy hboutemy marked this pull request as draft March 18, 2026 07:59
<version>4.0.0+</version>
<required>true</required>
<description>Declares to which version of project descriptor this POM conforms.</description>
<description>Declares to which version of project descriptor this POM conforms:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Declares to which version of the project descriptor this POM conforms to:

(Yes, ending a sentence with a preposition is perfectly fine in English, whatever second grade English teachers say.)

https://www.merriam-webster.com/grammar/prepositions-ending-a-sentence-with

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add a commit to the branch: this is what contributing is about when you are a committer
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants