This is an automated email from the ASF dual-hosted git repository.
yangjie01 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 f572ad1a722a [SPARK-50474][BUILD] Upgrade checkstyle to 10.20.2
f572ad1a722a is described below
commit f572ad1a722aef2aa1e06fc85aad168ed542cee9
Author: yangjie01 <[email protected]>
AuthorDate: Tue Dec 3 21:37:49 2024 +0800
[SPARK-50474][BUILD] Upgrade checkstyle to 10.20.2
### What changes were proposed in this pull request?
This pr upgrades `checkstyle` from version 10.20.0 to 10.20.2, and
simultaneously updates the Guava library used by `checkstyle` in
`project/plugins.sbt` to version `33.3.1-jre`. This is due to the fact
https://github.com/checkstyle/checkstyle/blob/checkstyle-10.20.2/pom.xml#L291-L301

### Why are the changes needed?
The new version will bring some bug fixes:
- https://checkstyle.org/releasenotes.html#Release_10.20.1
- https://checkstyle.org/releasenotes.html#Release_10.20.2
### Does this PR introduce _any_ user-facing change?
No, dev only
### How was this patch tested?
Manually by:
```
./dev/lint-java
```
### Was this patch authored or co-authored using generative AI tooling?
No
Closes #49040 from LuciferYang/checkstyle-10.20.2.
Authored-by: yangjie01 <[email protected]>
Signed-off-by: yangjie01 <[email protected]>
---
pom.xml | 2 +-
project/plugins.sbt | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index 06c3eca083bd..807b08847ebd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3225,7 +3225,7 @@
-->
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
- <version>10.20.0</version>
+ <version>10.20.2</version>
</dependency>
</dependencies>
<executions>
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 8ae03c099513..2f5fcf79740b 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -19,10 +19,10 @@ 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.20.0"
+libraryDependencies += "com.puppycrawl.tools" % "checkstyle" % "10.20.2"
-// checkstyle uses guava 33.1.0-jre.
-libraryDependencies += "com.google.guava" % "guava" % "33.1.0-jre"
+// checkstyle uses guava 33.3.1-jre.
+libraryDependencies += "com.google.guava" % "guava" % "33.3.1-jre"
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.3.0")
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]