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

snuyanzin pushed a commit to branch release-2.1
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-2.1 by this push:
     new 3b4f2fecf55 [FLINK-40272][build] Add cache file for checkstyle
3b4f2fecf55 is described below

commit 3b4f2fecf55f49b145c2fe39b65c8159531ad9ae
Author: Sergey Nuyanzin <[email protected]>
AuthorDate: Sun Aug 2 14:53:00 2026 +0200

    [FLINK-40272][build] Add cache file for checkstyle
---
 .gitignore | 1 +
 pom.xml    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/.gitignore b/.gitignore
index ecda8f4f672..28efdcd79c1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,6 +15,7 @@ scalastyle-output.xml
 .project
 .version.properties
 .spotless-index-file
+.checkstyle-cachefile
 filter.properties
 logs.zip
 .mvn/wrapper/*.jar
diff --git a/pom.xml b/pom.xml
index 7c4da549a0a..b366431452b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2156,6 +2156,7 @@ under the License.
                                                
<configLocation>/tools/maven/checkstyle.xml</configLocation>
                                                
<logViolationsToConsole>true</logViolationsToConsole>
                                                
<failOnViolation>true</failOnViolation>
+                                               
<cacheFile>${project.basedir}/.checkstyle-cachefile</cacheFile>
                                        </configuration>
                                </plugin>
 

Reply via email to