From 1a24e726534cb5efe3b42ca3d920bb6ce3ca6df7 Mon Sep 17 00:00:00 2001 From: huazhongming Date: Mon, 6 Nov 2023 19:21:13 +0800 Subject: [PATCH] Support spotless (#13311) Signed-off-by: crazyhzm --- dubbo-build-tools/pom.xml | 60 +++++++++++++++++- dubbo-dependencies-bom/pom.xml | 55 +++++++++++++++++ .../pom.xml | 55 +++++++++++++++++ .../dubbo-dependencies-zookeeper/pom.xml | 55 +++++++++++++++++ dubbo-dependencies/pom.xml | 61 +++++++++++++++++++ dubbo-distribution/pom.xml | 58 ++++++++++++++++++ pom.xml | 56 +++++++++++++++++ 7 files changed, 399 insertions(+), 1 deletion(-) diff --git a/dubbo-build-tools/pom.xml b/dubbo-build-tools/pom.xml index 28bae806b1..330a06ff63 100644 --- a/dubbo-build-tools/pom.xml +++ b/dubbo-build-tools/pom.xml @@ -25,6 +25,64 @@ true + 2.39.0 + check + 1.0.0 - \ No newline at end of file + + + java11+ + + [11,) + + + + + + com.diffplug.spotless + spotless-maven-plugin + ${spotless-maven-plugin.version} + + + + + + dubbo-importorder.txt + + + checkstyle-header.txt + + + + + false + true + + + + true + + + + + com.alibaba + dubbo-shared-resources + ${dubbo-shared-resources.version} + + + + + + ${spotless.action} + + process-sources + + + + + + + + + diff --git a/dubbo-dependencies-bom/pom.xml b/dubbo-dependencies-bom/pom.xml index 1d4eb22bbc..c0c6dadbc0 100644 --- a/dubbo-dependencies-bom/pom.xml +++ b/dubbo-dependencies-bom/pom.xml @@ -189,6 +189,9 @@ 2.0 1.5.0 1.23.0 + 2.39.0 + check + 1.0.0 3.2.8-SNAPSHOT @@ -951,6 +954,58 @@ + + java11+ + + [11,) + + + + + + com.diffplug.spotless + spotless-maven-plugin + ${spotless-maven-plugin.version} + + + + + + dubbo-importorder.txt + + + checkstyle-header.txt + + + + + false + true + + + + true + + + + + com.alibaba + dubbo-shared-resources + ${dubbo-shared-resources.version} + + + + + + ${spotless.action} + + process-sources + + + + + + diff --git a/dubbo-dependencies/dubbo-dependencies-zookeeper-curator5/pom.xml b/dubbo-dependencies/dubbo-dependencies-zookeeper-curator5/pom.xml index 59cf066012..2fa1c058fb 100644 --- a/dubbo-dependencies/dubbo-dependencies-zookeeper-curator5/pom.xml +++ b/dubbo-dependencies/dubbo-dependencies-zookeeper-curator5/pom.xml @@ -36,6 +36,9 @@ 1.5.0 5.1.0 3.8.1 + 2.39.0 + check + 1.0.0 @@ -164,5 +167,57 @@ + + java11+ + + [11,) + + + + + + com.diffplug.spotless + spotless-maven-plugin + ${spotless-maven-plugin.version} + + + + + + dubbo-importorder.txt + + + checkstyle-header.txt + + + + + false + true + + + + true + + + + + com.alibaba + dubbo-shared-resources + ${dubbo-shared-resources.version} + + + + + + ${spotless.action} + + process-sources + + + + + + diff --git a/dubbo-dependencies/dubbo-dependencies-zookeeper/pom.xml b/dubbo-dependencies/dubbo-dependencies-zookeeper/pom.xml index 9bec810105..4a8b23fc99 100644 --- a/dubbo-dependencies/dubbo-dependencies-zookeeper/pom.xml +++ b/dubbo-dependencies/dubbo-dependencies-zookeeper/pom.xml @@ -36,6 +36,9 @@ 1.5.0 4.3.0 3.4.14 + 2.39.0 + check + 1.0.0 @@ -101,5 +104,57 @@ + + java11+ + + [11,) + + + + + + com.diffplug.spotless + spotless-maven-plugin + ${spotless-maven-plugin.version} + + + + + + dubbo-importorder.txt + + + checkstyle-header.txt + + + + + false + true + + + + true + + + + + com.alibaba + dubbo-shared-resources + ${dubbo-shared-resources.version} + + + + + + ${spotless.action} + + process-sources + + + + + + diff --git a/dubbo-dependencies/pom.xml b/dubbo-dependencies/pom.xml index d8b8b978a4..80ac682e25 100644 --- a/dubbo-dependencies/pom.xml +++ b/dubbo-dependencies/pom.xml @@ -31,6 +31,12 @@ dubbo-dependencies-zookeeper-curator5 + + 2.39.0 + check + 1.0.0 + + @@ -61,4 +67,59 @@ + + + java11+ + + [11,) + + + + + + com.diffplug.spotless + spotless-maven-plugin + ${spotless-maven-plugin.version} + + + + + + dubbo-importorder.txt + + + checkstyle-header.txt + + + + + false + true + + + + true + + + + + com.alibaba + dubbo-shared-resources + ${dubbo-shared-resources.version} + + + + + + ${spotless.action} + + process-sources + + + + + + + + diff --git a/dubbo-distribution/pom.xml b/dubbo-distribution/pom.xml index a28d3f426d..d71d2a70ba 100644 --- a/dubbo-distribution/pom.xml +++ b/dubbo-distribution/pom.xml @@ -28,6 +28,12 @@ dubbo-distribution pom + + 2.39.0 + check + 1.0.0 + + release @@ -54,5 +60,57 @@ dubbo-core-spi + + java11+ + + [11,) + + + + + + com.diffplug.spotless + spotless-maven-plugin + ${spotless-maven-plugin.version} + + + + + + dubbo-importorder.txt + + + checkstyle-header.txt + + + + + false + true + + + + true + + + + + com.alibaba + dubbo-shared-resources + ${dubbo-shared-resources.version} + + + + + + ${spotless.action} + + process-sources + + + + + + diff --git a/pom.xml b/pom.xml index 5bca8f2c90..98bf6659d3 100644 --- a/pom.xml +++ b/pom.xml @@ -136,6 +136,9 @@ 1.2.2 3.22.3 1.54.0 + 2.39.0 + check + 1.0.0 3.2.8-SNAPSHOT @@ -605,6 +608,59 @@ 0.8.9 + + + java11+ + + [11,) + + + + + + com.diffplug.spotless + spotless-maven-plugin + ${spotless-maven-plugin.version} + + + + + + dubbo-importorder.txt + + + checkstyle-header.txt + + + + + false + true + + + + true + + + + + com.alibaba + dubbo-shared-resources + ${dubbo-shared-resources.version} + + + + + + ${spotless.action} + + process-sources + + + + + +