From 0a013991973bd6e23bfa1a7b9411e7c751ec98c9 Mon Sep 17 00:00:00 2001 From: psxjoy Date: Fri, 20 Dec 2024 19:37:08 +0800 Subject: [PATCH] [docs] Update checkstyle plugin version and docs (#237) --- pom.xml | 4 ++-- tools/maven/checkstyle.xml | 20 ++++++++------------ website/docs/dev/ide-setup.md | 2 +- 3 files changed, 11 insertions(+), 15 deletions(-) diff --git a/pom.xml b/pom.xml index 8f73931c..09884d9f 100644 --- a/pom.xml +++ b/pom.xml @@ -884,13 +884,13 @@ org.apache.maven.plugins maven-checkstyle-plugin - 3.1.2 + 3.6.0 com.puppycrawl.tools checkstyle - 8.14 + 9.3 diff --git a/tools/maven/checkstyle.xml b/tools/maven/checkstyle.xml index f91e76be..902875a4 100644 --- a/tools/maven/checkstyle.xml +++ b/tools/maven/checkstyle.xml @@ -15,8 +15,8 @@ limitations under the License. --> + "-//Puppy Crawl//DTD Check Configuration 1.3//EN" + "http://www.puppycrawl.com/dtds/configuration_1_3.dtd"> - - @@ -264,16 +260,16 @@ This file is based on the checkstyle file of Apache Beam. - + - + - - - + + + - + diff --git a/website/docs/dev/ide-setup.md b/website/docs/dev/ide-setup.md index 804c3bf6..8be93fd6 100644 --- a/website/docs/dev/ide-setup.md +++ b/website/docs/dev/ide-setup.md @@ -119,7 +119,7 @@ You can also format the whole project via Maven by using `mvn spotless:apply`. 1. Go to "Settings" → "Tools" → "Checkstyle". 2. Set "Scan Scope" to "Only Java sources (including tests)". -3. For "Checkstyle Version" select "10.18.2". +3. For "Checkstyle Version" select "9.3". 4. Under "Configuration File" click the "+" icon to add a new configuration. 5. Set "Description" to "Fluss". 6. Select "Use a local Checkstyle file" and point it to `tools/maven/checkstyle.xml` located within