Skip to content

Augment version range resolution used repositories #2574

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 7, 2025

Conversation

cstamas
Copy link
Member

@cstamas cstamas commented Jul 4, 2025

Ability to control which repositories to be queried to resolve ranges. Introduced new property:

maven.versionRangeResolutionNature that is used in VersionRangeResolver, and means:

  • not set; behave as before (default)
  • "auto" string; will check lower and upper bounds, and if any is snapshot, will querty snapshot reposes otherwise not
  • any valid value of resolver Metadata.Nature enum; then will use that

Fixes: #2558

Note: spotless insisted on reformatting the unrelated class, unsure why? and now CI fails due formatting???

Ability to control which repositories to be queried to resolve
ranges. Introduced new property:

`maven.versionRangeResolutionNature` that is used in VersionRangeResolver,
and mean:
* not set; behave as before (default)
* "auto" string; will check lower and upper bounds, and if any is snapshot, will querty snapshot reposes otherwise not
* any valid value of resolver Metadata.Nature enum; then will use that

Depends on apache/maven-resolver#1518
cstamas added 2 commits July 4, 2025 16:08
No need for newer Resolver here. We just had one
release.
@cstamas cstamas marked this pull request as ready for review July 4, 2025 15:50
@cstamas cstamas added this to the 3.9.11 milestone Jul 4, 2025
@cstamas cstamas added the enhancement New feature or request label Jul 4, 2025
@cstamas cstamas changed the title Augment range resolution Augment version range resolution used repositories Jul 4, 2025
@gnodet gnodet added the mvn3 label Jul 4, 2025
@cstamas cstamas merged commit a0360b3 into apache:maven-3.9.x Jul 7, 2025
18 checks passed
@cstamas cstamas deleted the maven-3.9.x-range-resolution branch July 7, 2025 10:58
dongjoon-hyun added a commit to apache/orc that referenced this pull request Jul 15, 2025
### What changes were proposed in this pull request?

This PR aims to upgrade Maven to 3.9.11.

### Why are the changes needed?

To bring the latest bug fixes.
- https://github.com/apache/maven/releases/tag/maven-3.9.11
  - apache/maven#2489
  - apache/maven#2470
  - apache/maven#10896
  - apache/maven#2574

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #2331 from dongjoon-hyun/ORC-1958.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
dongjoon-hyun added a commit to apache/orc that referenced this pull request Jul 15, 2025
### What changes were proposed in this pull request?

This PR aims to upgrade Maven to 3.9.11.

### Why are the changes needed?

To bring the latest bug fixes.
- https://github.com/apache/maven/releases/tag/maven-3.9.11
  - apache/maven#2489
  - apache/maven#2470
  - apache/maven#10896
  - apache/maven#2574

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #2331 from dongjoon-hyun/ORC-1958.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit ab9d7d0)
Signed-off-by: Dongjoon Hyun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mvn3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants