You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2025/09/17 03:42:16 UTC
(spark) branch master updated: [SPARK-53603][BUILD] Upgrade Checkstyle to 11.0.1
This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 5d1ad6187733 [SPARK-53603][BUILD] Upgrade Checkstyle to 11.0.1
5d1ad6187733 is described below
commit 5d1ad6187733f3817d64d2644e40a7da0c87e3a6
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Tue Sep 16 20:42:04 2025 -0700
[SPARK-53603][BUILD] Upgrade Checkstyle to 11.0.1
### What changes were proposed in this pull request?
This PR aims to upgrade Checkstyle to 11.0.1 from 10.21.2.
### Why are the changes needed?
Checkstyle 11 is built on Java 17 and has many improvements for the latest Java language.
- https://checkstyle.org/releasenotes.html#Release_11.0.1
- https://checkstyle.org/releasenotes.html#Release_11.0.0
- https://github.com/checkstyle/checkstyle/issues/17321
- https://checkstyle.org/releasenotes.html#Release_10.26.1
- https://checkstyle.org/releasenotes.html#Release_10.26.0
- https://github.com/checkstyle/checkstyle/issues/14949
- https://checkstyle.org/releasenotes.html#Release_10.25.1
- https://checkstyle.org/releasenotes.html#Release_10.25.0
- https://github.com/checkstyle/checkstyle/issues/14945
- https://checkstyle.org/releasenotes.html#Release_10.24.0
- https://checkstyle.org/releasenotes.html#Release_10.23.1
- https://checkstyle.org/releasenotes.html#Release_10.23.0
- https://checkstyle.org/releasenotes.html#Release_10.22.0
- https://checkstyle.org/releasenotes.html#Release_10.21.4
- https://checkstyle.org/releasenotes.html#Release_10.21.3
### Does this PR introduce _any_ user-facing change?
No, this is a kind of test environment during building.
### How was this patch tested?
Pass the CIs. Or, manually do.
```
$ dev/lint-java
Using `mvn` from path: /opt/homebrew/bin/mvn
Using SPARK_LOCAL_IP=localhost
Checkstyle checks passed.
```
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #52361 from dongjoon-hyun/SPARK-53603.
Authored-by: Dongjoon Hyun <do...@apache.org>
Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
pom.xml | 2 +-
project/plugins.sbt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index e99fc8d8ca40..5bff8c9f7552 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3233,7 +3233,7 @@
-->
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
- <version>10.21.2</version>
+ <version>11.0.1</version>
</dependency>
</dependencies>
<executions>
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 0e5ce79c8b56..f92705373e20 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -19,7 +19,7 @@ addSbtPlugin("software.purpledragon" % "sbt-checkstyle-plugin" % "4.0.1")
// If you are changing the dependency setting for checkstyle plugin,
// please check pom.xml in the root of the source tree too.
-libraryDependencies += "com.puppycrawl.tools" % "checkstyle" % "10.21.2"
+libraryDependencies += "com.puppycrawl.tools" % "checkstyle" % "11.0.1"
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.3.1")
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org