slawekjaranowski commented on issue #189:
URL: 
https://github.com/apache/maven-pmd-plugin/issues/189#issuecomment-2888871795

   Mojo classes should be refactored, currently we have, like:
   
   ```java
   @Mojo(name = "check", defaultPhase = LifecyclePhase.VERIFY, threadSafe = 
true)
   @Execute(goal = "pmd")
   public class PmdViolationCheckMojo extends 
AbstractPmdViolationCheckMojo<Violation> {
   
   ```
   
   Additional mojo execution `@Execute(goal = "pmd")` shuld be removed and Mojo 
should directly use `org.apache.maven.plugins.pmd.exec.PmdExecutor`
    
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to