You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
type: specs.openrewrite.org/v1beta/recipename: my.company.rewrite.recipe.MyRecipedisplayName: My Recipedescription: This is an OpenRewrite reciperecipeList:
- org.openrewrite.maven.RemoveManagedDependency: # This uses ${spring-boot.version}groupId: org.springframework.bootartifactId: spring-boot-dependencies
- org.openrewrite.maven.RemoveProperty:
propertyName: spring-boot.version
What is the smallest, simplest way to reproduce the problem?
I found out that it works when I run org.openrewrite.maven.RemoveManagedDependency and org.openrewrite.maven.RemoveProperty separately, i.e on separate mvn rewrite:run commands.
It looks like org.openrewrite.maven.RemoveManagedDependency recipe isn't updating the model used by OpenRewrite after removing spring-boot-dependencies...
What version of OpenRewrite are you using?
I am using
How are you running OpenRewrite?
I am using the Maven plugin, and my project is a multi-module module project.
And this is
MyRecipe
:What is the smallest, simplest way to reproduce the problem?
What did you expect to see?
Property
spring-boot.version
removed.What did you see instead?
No changes.
What is the full stack trace of any errors you encountered?
Are you interested in contributing a fix to OpenRewrite?
yes
The text was updated successfully, but these errors were encountered: