diff --git a/java/pom.xml b/java/pom.xml
index 5f168c48bd9ef..e88ea30ce40c3 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -84,6 +84,7 @@
4.15.0
1.18.0
1.17.6
+ 2.41.1
@@ -493,6 +494,19 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ ${maven-spotless-plugin.version}
+
+
+
+ 1.19.1
+
+
+
+
+