This is an automated email from the ASF dual-hosted git repository. hboutemy pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/master by this push: new d65c3759b0 [MNG-8712] dependency version is a requirement, not effective d65c3759b0 is described below commit d65c3759b06e7e661850d30eef94ee576d84a1ac Author: Hervé Boutemy <hbout...@apache.org> AuthorDate: Fri May 2 00:23:53 2025 +0200 [MNG-8712] dependency version is a requirement, not effective --- api/maven-api-model/src/main/mdo/maven.mdo | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/api/maven-api-model/src/main/mdo/maven.mdo b/api/maven-api-model/src/main/mdo/maven.mdo index f9b9e77ff2..060d8fec2c 100644 --- a/api/maven-api-model/src/main/mdo/maven.mdo +++ b/api/maven-api-model/src/main/mdo/maven.mdo @@ -1209,8 +1209,12 @@ <name>version</name> <version>3.0.0+</version> <description> - The version of the dependency, e.g. {@code 3.2.1}. This can also be - specified as a range of versions. + <![CDATA[ + The version requirement of the dependency, e.g. {@code 3.2.1}. The actual version will be resolved based on the usage context. + Version requirement can also be specified as a range of versions, e.g. {@code [3.2.0,)}. This is discouraged as it may break <i>predictability</i> of resolved version. + See <a href="https://s.apache.org/dependency-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> </field>