shink opened a new issue #1436:
URL: https://github.com/apache/incubator-inlong/issues/1436


   The checkstyle plugin is bound to Maven's validate phase. When execute `mvn 
verify`, code will be checked. So the checkstyle workflow is redundant.
   
   ```xml
   <plugin>
     <groupId>org.apache.maven.plugins</groupId>
     <artifactId>maven-checkstyle-plugin</artifactId>
     <version>3.1.1</version>
     <dependencies>
       <dependency>
         <groupId>com.puppycrawl.tools</groupId>
         <artifactId>checkstyle</artifactId>
         <version>8.29</version>
       </dependency>
     </dependencies>
     <executions>
       <execution>
         <id>checkstyle</id>
         <phase>validate</phase>
         <goals>
           <goal>check</goal>
         </goals>
       </execution>
     </executions>
   </plugin>
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to