Skip to content

Commit d65c375

Browse files
committed
[MNG-8712] dependency version is a requirement, not effective
1 parent 3706aa1 commit d65c375

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

api/maven-api-model/src/main/mdo/maven.mdo

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,8 +1209,12 @@
12091209
<name>version</name>
12101210
<version>3.0.0+</version>
12111211
<description>
1212-
The version of the dependency, e.g. {@code 3.2.1}. This can also be
1213-
specified as a range of versions.
1212+
<![CDATA[
1213+
The version requirement of the dependency, e.g. {@code 3.2.1}. The actual version will be resolved based on the usage context.
1214+
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.
1215+
See <a href="https://s.apache.org/dependency-version">dependency version requirement documentation</a>
1216+
and <a href="https://s.apache.org/transitive-dependencies-resolution">transitive dependencies resolution</a> for more details.
1217+
]]>
12141218
</description>
12151219
<type>String</type>
12161220
</field>

0 commit comments

Comments
 (0)