From 1084b45010cc49b5d7ba79d4b27d370e203768dc Mon Sep 17 00:00:00 2001 From: Vibhatha Abeykoon Date: Tue, 4 Jun 2024 10:10:01 +0530 Subject: [PATCH] fix: addressing reviews --- .gitignore | 2 +- {.mvn => java/.mvn}/develocity.xml | 0 {.mvn => java/.mvn}/extensions.xml | 0 java/algorithm/pom.xml | 39 ++---------------------------- java/pom.xml | 18 +++++++++++++- 5 files changed, 20 insertions(+), 39 deletions(-) rename {.mvn => java/.mvn}/develocity.xml (100%) rename {.mvn => java/.mvn}/extensions.xml (100%) diff --git a/.gitignore b/.gitignore index a482f5503c2b9..873fe079732ad 100644 --- a/.gitignore +++ b/.gitignore @@ -102,4 +102,4 @@ __debug_bin .envrc # Develocity -.mvn/.develocity/ +java/.mvn/.develocity/ diff --git a/.mvn/develocity.xml b/java/.mvn/develocity.xml similarity index 100% rename from .mvn/develocity.xml rename to java/.mvn/develocity.xml diff --git a/.mvn/extensions.xml b/java/.mvn/extensions.xml similarity index 100% rename from .mvn/extensions.xml rename to java/.mvn/extensions.xml diff --git a/java/algorithm/pom.xml b/java/algorithm/pom.xml index d6c9a1fe7d2ef..5984cce766d9e 100644 --- a/java/algorithm/pom.xml +++ b/java/algorithm/pom.xml @@ -21,7 +21,8 @@ (Experimental/Contrib) A collection of algorithms for working with ValueVectors. - ${project.basedir}/../dev/checkstyle/checkstyle-spotless.xml + dev/checkstyle/checkstyle-spotless.xml + none @@ -51,40 +52,4 @@ value-annotations - - - - - org.apache.maven.plugins - maven-checkstyle-plugin - - ${checkstyle.config.location} - - - - com.diffplug.spotless - spotless-maven-plugin - - - - - - pom.xml - - - - - - 1.7 - - - - ${maven.multiModuleProjectDirectory}/java/dev/license/asf-java.license - package - - - - - - diff --git a/java/pom.xml b/java/pom.xml index 86db99bbfe058..d884bab231f98 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -92,6 +92,7 @@ 1.11.3 2 + dev/checkstyle/checkstyle.xml true 9+181-r4173-1 2.24.0 @@ -99,7 +100,8 @@ 5.11.0 5.2.0 3.43.0 - dev/checkstyle/checkstyle.xml + + **/*.java @@ -835,10 +837,24 @@ + + + ${spotless.java.excludes} + + + 1.7 + + + + ${maven.multiModuleProjectDirectory}/dev/license/asf-java.license + package + + spotless-check + validate check