Issue #17487: add pluginManagement for rewrite-maven-plugin#17948
Issue #17487: add pluginManagement for rewrite-maven-plugin#17948Pankraz76 wants to merge 1 commit intocheckstyle:masterfrom
rewrite-maven-plugin#17948Conversation
b86521a to
dca97b6
Compare
This comment was marked as resolved.
This comment was marked as resolved.
d46dd76 to
6a156be
Compare
6a156be to
f54454c
Compare
|
Please explain in PR description in words what is benefits of this update |
f54454c to
dfd601b
Compare
updated, please give me critics. |
6e5b707 to
4ad7d7d
Compare
be48393 to
bb5ec99
Compare
bb5ec99 to
e3f5ea6
Compare
|
why so many ci issues ? will this be gone after merge? its just cosmetic and moved some stuff. whats going on here? |
Weird.... |
f7787e9 to
5b47c94
Compare
6764927 to
761242e
Compare
stability first premis: |
AutoFixesrewrite-maven-plugin
|
lets split the concerns: |
This comment was marked as resolved.
This comment was marked as resolved.
58a14c5 to
c74d827
Compare
rewrite-maven-pluginrewrite-maven-plugin
| <dependency> | ||
| <groupId>com.puppycrawl.tools</groupId> | ||
| <artifactId>checkstyle-openrewrite-recipes</artifactId> | ||
| <version>${checkstyle.openrewrite.version}</version> |
There was a problem hiding this comment.
again its a big mystery, why we can not inline this.
c74d827 to
5d1fb7e
Compare
|
Please update PR description to clearly describe reason/benefits on moving from build to pluginManagement . All other wording , should be removed |
|
updated. |
|
You moved plugin from profile to Please update your PR description to explain correctly that you do . |

Issue #17487: add pluginManagement for
rewrite-maven-pluginThe
rewrite-maven-pluginis not placed under thepluginManagementsection because it needs to be directly available for execution from the command line and IDE without requiring inheritance from a parent POM.When defined only in
pluginManagement, the plugin configuration is not automatically applied — it must be explicitly declared in each module’s build section. This would add unnecessary duplication and complexity for developers who need to run rewrite tasks locally.Keeping it in the
buildsection ensures that the plugin can be executed consistently in all environments while maintaining compatibility with existing project profiles such ascheckstyle-autofix.