From ebe9741cd21ab90b7132e2f541bc8e4349b00f22 Mon Sep 17 00:00:00 2001 From: Mikhail Petrov Date: Fri, 24 Apr 2026 01:02:11 +0300 Subject: [PATCH] IGNITE-28599 Improved check style plugin configuration to use placeholder for suppression file --- checkstyle/checkstyle-suppressions.xml | 7 ++++-- checkstyle/checkstyle-xpath-suppressions.xml | 26 -------------------- checkstyle/checkstyle.xml | 4 +-- parent/pom.xml | 2 ++ 4 files changed, 9 insertions(+), 30 deletions(-) delete mode 100644 checkstyle/checkstyle-xpath-suppressions.xml diff --git a/checkstyle/checkstyle-suppressions.xml b/checkstyle/checkstyle-suppressions.xml index a45d4f12af9b0..3e8a741c92542 100644 --- a/checkstyle/checkstyle-suppressions.xml +++ b/checkstyle/checkstyle-suppressions.xml @@ -18,8 +18,8 @@ --> + "-//Checkstyle//DTD SuppressionXpathFilter Experimental Configuration 1.2//EN" + "https://checkstyle.org/dtds/suppressions_1_2_xpath_experimental.dtd"> @@ -68,4 +68,7 @@ + + diff --git a/checkstyle/checkstyle-xpath-suppressions.xml b/checkstyle/checkstyle-xpath-suppressions.xml deleted file mode 100644 index 2ab024fbe908b..0000000000000 --- a/checkstyle/checkstyle-xpath-suppressions.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - diff --git a/checkstyle/checkstyle.xml b/checkstyle/checkstyle.xml index dec1a2958b78f..3b248ed791979 100644 --- a/checkstyle/checkstyle.xml +++ b/checkstyle/checkstyle.xml @@ -26,7 +26,7 @@ - + @@ -46,7 +46,7 @@ - + diff --git a/parent/pom.xml b/parent/pom.xml index b6d05a3d1eb33..bba4e3ac078d8 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -240,6 +240,8 @@ ${project.build.directory}/checkstyle-result.xml checkstyle/checkstyle.xml + checkstyle/checkstyle-suppressions.xml + checkstyle.suppressions.file true **/generated/**/*