diff --git a/pinot-common/pom.xml b/pinot-common/pom.xml
index 7dfbf8104b14..339d8f55d2ba 100644
--- a/pinot-common/pom.xml
+++ b/pinot-common/pom.xml
@@ -61,35 +61,6 @@
org.xolstice.maven.plugins
protobuf-maven-plugin
-
- com.diffplug.spotless
- spotless-maven-plugin
- 2.28.0
-
-
- verify
-
- check
-
-
-
-
-
-
- src/main/java/**/*.java
- src/test/java/**/*.java
-
-
- src/main/java/org/apache/pinot/common/request/*.java
- src/main/java/org/apache/pinot/common/response/ProcessingException.java
-
-
- ,\#
-
-
-
-
-
@@ -178,6 +149,30 @@
+
+
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+
+
+
+ src/main/java/**/*.java
+ src/test/java/**/*.java
+
+
+ src/main/java/org/apache/pinot/common/request/*.java
+ src/main/java/org/apache/pinot/common/response/ProcessingException.java
+
+
+ ,\#
+
+
+
+
+
+
+
diff --git a/pom.xml b/pom.xml
index 9220d562bd92..2e3a9a031476 100644
--- a/pom.xml
+++ b/pom.xml
@@ -180,6 +180,20 @@
+
+ not-java-21
+
+ !21
+
+
+
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+
+
+
+
github-actions
@@ -1306,6 +1320,31 @@
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.28.0
+
+
+ verify
+
+ check
+
+
+
+
+
+
+ src/main/java/**/*.java
+ src/test/java/**/*.java
+
+
+ ,\#
+
+
+
+
+
org.codehaus.mojo
appassembler-maven-plugin
@@ -1641,31 +1680,6 @@
sonar-maven-plugin
2.7.1
-
- com.diffplug.spotless
- spotless-maven-plugin
- 2.28.0
-
-
- verify
-
- check
-
-
-
-
-
-
- src/main/java/**/*.java
- src/test/java/**/*.java
-
-
- ,\#
-
-
-
-
-
com.mycila
license-maven-plugin