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

petrov-mg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-extensions.git


The following commit(s) were added to refs/heads/master by this push:
     new 6c3cb723 IGNITE-28599 Added checkstyle suppressions configuration 
(#348)
6c3cb723 is described below

commit 6c3cb72351ea8433950f517869ab4de24fd992b0
Author: Mikhail Petrov <[email protected]>
AuthorDate: Fri Apr 24 15:11:09 2026 +0300

    IGNITE-28599 Added checkstyle suppressions configuration (#348)
---
 checkstyle/checkstyle-suppressions.xml | 27 +++++++++++++++++++++++++++
 parent-internal/pom.xml                |  8 ++++++++
 2 files changed, 35 insertions(+)

diff --git a/checkstyle/checkstyle-suppressions.xml 
b/checkstyle/checkstyle-suppressions.xml
new file mode 100644
index 00000000..a5edb66f
--- /dev/null
+++ b/checkstyle/checkstyle-suppressions.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE suppressions PUBLIC
+    "-//Checkstyle//DTD SuppressionXpathFilter Experimental Configuration 
1.2//EN"
+    "https://checkstyle.org/dtds/suppressions_1_2_xpath_experimental.dtd";>
+<suppressions>
+    <suppress checks="LineLength"
+              files="classnames\.properties"/>
+
+    <suppress checks="(?&lt;!Missing)JavadocMethod"
+              files="[\\/]internal[\\/]"/>
+
+    <suppress checks="(?&lt;!Missing)JavadocMethod"
+              files="[\\/]test[\\/]"/>
+
+    <suppress checks="(?&lt;!Missing)JavadocMethod"
+              files="[\\/]tests[\\/]"/>
+
+    <suppress checks="(?&lt;!Missing)JavadocMethod"
+              files="[\\/]ml[\\/]"/>
+
+    <suppress 
checks="org.apache.ignite.tools.checkstyle.ClassUsageRestrictionRule"
+              files=".*"/>
+
+    <suppress-xpath checks="AnnotationOnSameLine"
+                    query="//ANNOTATION[.//IDENT[not(@text='Override')]]"/>
+</suppressions>
diff --git a/parent-internal/pom.xml b/parent-internal/pom.xml
index 6df25613..a73f14e9 100644
--- a/parent-internal/pom.xml
+++ b/parent-internal/pom.xml
@@ -112,6 +112,14 @@
 
     <build>
         <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <configuration>
+                    
<suppressionsLocation>${maven.multiModuleProjectDirectory}/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
+                </configuration>
+            </plugin>
+
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-deploy-plugin</artifactId>

Reply via email to