- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 3.9k
          Issue #17487: add pluginManagement for rewrite-maven-plugin
          #17948
        
          New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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
  
    There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
items:
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.... | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most likely this
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.