From 84a4c70327fcdb7078662d9e697610809d29df1c Mon Sep 17 00:00:00 2001 From: Yash Mayya Date: Fri, 26 Apr 2024 03:46:59 +0530 Subject: [PATCH] Re-enable the Spotless plugin for Java 21 (#12992) --- pinot-common/pom.xml | 38 +++++++++++++------------------------- pom.xml | 19 ++++--------------- 2 files changed, 17 insertions(+), 40 deletions(-) diff --git a/pinot-common/pom.xml b/pinot-common/pom.xml index 2381f024d46b..32cd2eb9dbce 100644 --- a/pinot-common/pom.xml +++ b/pinot-common/pom.xml @@ -62,6 +62,19 @@ protobuf-maven-plugin + + com.diffplug.spotless + spotless-maven-plugin + + + + src/main/java/org/apache/pinot/common/request/*.java + src/main/java/org/apache/pinot/common/response/ProcessingException.java + + + + + @@ -129,31 +142,6 @@ - - - - - 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 d40fe84eb0e3..978320c58331 100644 --- a/pom.xml +++ b/pom.xml @@ -254,20 +254,6 @@ - - not-java-21 - - !21 - - - - - com.diffplug.spotless - spotless-maven-plugin - - - - github-actions @@ -1609,7 +1595,6 @@ 2.43.0 - verify check @@ -2063,6 +2048,10 @@ sonar-maven-plugin 2.7.1 + + com.diffplug.spotless + spotless-maven-plugin + com.mycila license-maven-plugin