Skip to content

Conversation

@hboutemy
Copy link
Member

see https://issues.apache.org/jira/browse/MNG-8712

hoping this will help users discover how dependency version in pom.xml is completely different to every other versions like project or plugin

@hboutemy hboutemy requested a review from cstamas April 28, 2025 19:21
elharo
elharo previously requested changes Apr 28, 2025
@elharo elharo dismissed their stale review April 29, 2025 12:44

addressed

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>. 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,)</code>. This is discouraged as it breaks <i>predictability</i> of resolved version.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Version requirement can also be specified as a range of versions, e.g. <code>[3.2.0,)</code>. This is discouraged as it breaks <i>predictability</i> of resolved version.
Version requirement can also be specified as a range of versions, e.g. <code>[3.2.0,)</code>. User have to be aware that range versions may break <i>predictability</i> of resolved version in some cases.

Copy link
Member Author

Choose a reason for hiding this comment

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

too long: going back to "as it may break predictability"

@hboutemy hboutemy merged commit fc4e617 into maven-3.9.x May 1, 2025
7 of 9 checks passed
@hboutemy hboutemy deleted the MNG-8712 branch May 1, 2025 22:24
@github-actions github-actions bot added this to the 3.9.10 milestone May 1, 2025
@jira-importer
Copy link

Resolve #9590

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants