Skip to content

Fix bug in ResolvedPom#mergeDependencyManagement() #5529

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 8 commits into from
Jun 2, 2025

Conversation

knutwannheden
Copy link
Contributor

@knutwannheden knutwannheden commented May 30, 2025

The merging of managed dependency properties was not quite correct in ResolvedPom. I didn't find an easy way to fix it, so the changes are a bit more exhaustive than I was hoping for.

Additionally, the dependencyManagement list is now sorted (using TimSort 😄), so that the getManagedXyz() operations are faster.

The merging of managed dependency properties was not quite correct in `ResolvedPom`. I didn't find an easy way to fix it, so the changes are a bit more exhaustive than I was hoping for.

Additionally, the `dependencyManagement` list is now sorted, so that the `getManagedXyz()` operations are faster.
@timtebeek timtebeek added bug Something isn't working parser-maven labels May 31, 2025
@knutwannheden knutwannheden marked this pull request as ready for review June 2, 2025 07:41
@knutwannheden knutwannheden merged commit b269851 into main Jun 2, 2025
2 checks passed
@knutwannheden knutwannheden deleted the managed-dependency-merging branch June 2, 2025 08:44
@github-project-automation github-project-automation bot moved this from In Progress to Done in OpenRewrite Jun 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working parser-maven
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants