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
What is the smallest, simplest way to reproduce the problem?
See the setup above; I am running mvn org.openrewrite.maven:rewrite-maven-plugin:5.28.0:run -Drewrite.activeRecipes=demo
What did you expect to see?
I expected the recipe to update both the property and the version of the plugins declared in <pluginManagement/>.
What did you see instead?
No modification occurred, the plugins are not updated.
Note when I declare a plugin in <plugins/> instead, an update is performed. I am using <pluginManagement/> because my ultimate use would be also in multi-module projects.
What is the full stack trace of any errors you encountered?
No errors, no stracktrace, just no expected updated plugin versions.
Thanks for the suggestion! We recently made a similar change for dependencies and dependency management. Think we could do the same here, as indeed it would be surprising not to see any such changes.
What version of OpenRewrite are you using?
I am using
org.openrewrite.maven:rewrite-maven-plugin:5.28.0
How are you running OpenRewrite?
I am using the Maven plugin, and my project is a single module project. I am using the following
pom.xml
file:As a sibling to
pom.xml
the followingrewrite.yml
exists:What is the smallest, simplest way to reproduce the problem?
See the setup above; I am running
mvn org.openrewrite.maven:rewrite-maven-plugin:5.28.0:run -Drewrite.activeRecipes=demo
What did you expect to see?
I expected the recipe to update both the property and the version of the plugins declared in
<pluginManagement/>
.What did you see instead?
No modification occurred, the plugins are not updated.
Note when I declare a plugin in
<plugins/>
instead, an update is performed. I am using<pluginManagement/>
because my ultimate use would be also in multi-module projects.What is the full stack trace of any errors you encountered?
No errors, no stracktrace, just no expected updated plugin versions.
Are you interested in contributing a fix to OpenRewrite?
Sorry, I can't.
The text was updated successfully, but these errors were encountered: