-
Notifications
You must be signed in to change notification settings - Fork 101
Closed
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
What problem are you trying to solve?
When running the Migrate from Spring Framework annotations to JSpecify recipe on a Spring-based project, OpenRewrite adds the org.jspecify:jspecify
dependency.
As this is already included transitively by the Spring Core module, the explicit declaration is not required in the project running the recipe.
Describe the solution you'd like
Ideally, after the recipe runs, there should be no new JSpecify dependency added to the build configuration, regardless of whether it's Maven or Gradle.
Have you considered any alternatives or workarounds?
Yes: inspect all build configurations manually after recipe execution and delete the newly introduced dependency.
Additional context
This was spotted during the work at spring-projects/spring-batch@d519849.
Are you interested in contributing this feature to OpenRewrite?
If the project agrees to this change, I'd be happy to contribute! 🙂
Relates to:
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Type
Projects
Status
Done