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
Copy Markdown
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
@hboutemy
Copy link
Copy Markdown
Member Author

hboutemy commented Mar 20, 2026

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

I'm wrong, model version inference injects field value: really nice
#1148

so it's like value injected by inheritance: not really in the XML on disk, but injected in effective POM in memory

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