10000 UpgradeDependencyVersionTest recipe support for dependency-management plugin by jevanlingen · Pull Request #5640 · openrewrite/rewrite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

UpgradeDependencyVersionTest recipe support for dependency-management plugin #5640

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jevanlingen
Copy link
Contributor

What's changed?

Dependencies defined in a dependencyManagement block are updated as well.

What's your motivation?

Currently, using the Dependency Management plugin does not yield any changes.

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

@jevanlingen jevanlingen requested a review from bmuschko June 19, 2025 09:20
@jevanlingen jevanlingen added bug Something isn't working recipe Requested Recipe labels Jun 19, 2025
@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Jun 19, 2025
@@ -1437,6 +1512,38 @@ void kotlinDslStringInterpolation() {
);
}

@Test
void kotlinVersionInPropertiesFile() {
Copy link
Contributor Author
@jevanlingen jevanlingen Jun 19, 2025

Choose a reason for hiding this comment

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

💡 This test does not really have anything to do with this PR; just an (already succeeding) missing test we need to have covered as well.

Copy link
Contributor
@bmuschko bmuschko left a comment

Choose a reason for hiding this comment

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

Please see my comment on the originating issue that drives the test cases. I personally think that we should not support the Spring Boot dependency management plugin directly. There should be a recipe that migrate away from it instead.

I am proposing not to add the tests in this PR until we make a decision.

@shanman190
Copy link
Contributor

Related PR: #5623

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working recipe Requested Recipe
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

3 participants
0