-
Notifications
You must be signed in to change notification settings - Fork 500
Description
What version of OpenRewrite are you using?
I am using
- OpenRewrite BOM v3.22.0
- Maven/Gradle plugin v7.24.0
- rewrite-gradle (via the BOM listed above)
How are you running OpenRewrite?
I am using the Gradle plugin, and my project is a multi module project.
I've recreated the issue in this repo: https://github.com/sleylandcole-ccc/openrewrite-upgrade-dependency-exact-version. There is a recipe module which contains a recipe to upgrade the Jackson Core dependency to 2.20.+.
The consumer project has a dependency on Jackson Core 2.18.5. You can run the recipe against this module: ./gradlew :consumer:rewriteRun
What is the smallest, simplest way to reproduce the problem?
See repo linked above
What did you expect to see?
This behaviour was described in a Slack message from @shanman190 (here).
I expected the version to be set to 2.20.+ as per the recipe
implementation("com.fasterxml.jackson.core:jackson-core:2.20.+")What did you see instead?
The version was unchanged
implementation("com.fasterxml.jackson.core:jackson-core:2.18.5")What is the full stack trace of any errors you encountered?
No errors
Are you interested in contributing a fix to OpenRewrite?
Depending on the amount of work, I could potentially contribute a fix. I will need some guidance on what to change as I haven't contributed to OpenRewrite before.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status