This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ratis.git


The following commit(s) were added to refs/heads/master by this push:
     new 6e90f9968 RATIS-2419. checkstyle should not check generated-sources  
(#1360)
6e90f9968 is described below

commit 6e90f99684c4f3a75cae17fdf4be92dd29c8895e
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Thu Feb 26 06:30:23 2026 +0100

    RATIS-2419. checkstyle should not check generated-sources  (#1360)
---
 dev-support/checkstyle.xml | 4 ++++
 ratis-proto/pom.xml        | 5 -----
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/dev-support/checkstyle.xml b/dev-support/checkstyle.xml
index 6f8ac9f96..db4954fb4 100644
--- a/dev-support/checkstyle.xml
+++ b/dev-support/checkstyle.xml
@@ -55,6 +55,10 @@
 
     <property name="fileExtensions" value="java, properties, xml"/>
 
+    <module name="BeforeExecutionExclusionFileFilter">
+        <property name="fileNamePattern" value=".*/target/.*"/>
+    </module>
+
     <module name="SuppressWarningsFilter"/>
 
     <!-- Checks that a package-info.java file exists for each package.     -->
diff --git a/ratis-proto/pom.xml b/ratis-proto/pom.xml
index e18968569..9eb922960 100644
--- a/ratis-proto/pom.xml
+++ b/ratis-proto/pom.xml
@@ -52,11 +52,6 @@
           <showWarnings>false</showWarnings>
         </configuration>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-checkstyle-plugin</artifactId>
-        <configuration/>
-      </plugin>
       <!-- Make a jar and put the sources in the jar -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>

Reply via email to