This is an automated email from the ASF dual-hosted git repository. hboutemy pushed a commit to branch MNG-8712 in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/MNG-8712 by this push: new 570c584a6c [MNG-8712] dependency version is a requirement, not effective 570c584a6c is described below commit 570c584a6c92d5680626f8d39205d9b55de88acb Author: Hervé Boutemy <hbout...@apache.org> AuthorDate: Mon Apr 28 19:56:44 2025 +0200 [MNG-8712] dependency version is a requirement, not effective --- maven-model/src/main/mdo/maven.mdo | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/maven-model/src/main/mdo/maven.mdo b/maven-model/src/main/mdo/maven.mdo index 6e33f192fd..d104531d5c 100644 --- a/maven-model/src/main/mdo/maven.mdo +++ b/maven-model/src/main/mdo/maven.mdo @@ -1087,8 +1087,10 @@ <version>3.0.0+</version> <description> <![CDATA[ - The version of the dependency, e.g. <code>3.2.1</code>. In Maven 2, this can also be - specified as a range of versions. + The version requirement of the dependency, e.g. <code>3.2.1</code> for soft version requirement: the effective version will be resolved based on the usage context. + In Maven 2, version requirement can also be specified as a range of versions, e.g. <code>[3.2.0,)</code>: notice this is discouraged, as it may break <i>predictability</i> of resolved version. + See <a href="https://s.apache.org/dependendy-version">dependency version requirement documentation</a> + and <a href="https://s.apache.org/transitive-dependencies-resolution">transitive dependencies resolution</a> for more details. ]]> </description> <type>String</type>