This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob.git
The following commit(s) were added to refs/heads/master by this push:
new 1b253356b Refactor pom for dependency (#2284)
1b253356b is described below
commit 1b253356b5131a37d0afc46f269e4e7265da2756
Author: Liang Zhang <[email protected]>
AuthorDate: Sat Oct 14 17:26:59 2023 +0800
Refactor pom for dependency (#2284)
---
elasticjob-api/pom.xml | 12 ------------
elasticjob-cloud/elasticjob-cloud-common/pom.xml | 9 ---------
elasticjob-cloud/elasticjob-cloud-executor/pom.xml | 4 ----
elasticjob-cloud/elasticjob-cloud-scheduler/pom.xml | 8 --------
.../elasticjob-cloud-scheduler-distribution/pom.xml | 4 ----
.../elasticjob-error-handler-dingtalk/pom.xml | 4 ----
.../elasticjob-error-handler-email/pom.xml | 4 ----
.../elasticjob-error-handler-general/pom.xml | 5 -----
.../elasticjob-error-handler-wechat/pom.xml | 4 ----
.../elasticjob-executor/elasticjob-executor-kernel/pom.xml | 5 -----
.../elasticjob-http-executor/pom.xml | 6 ------
.../elasticjob-executor/elasticjob-executor-type/pom.xml | 7 -------
.../elasticjob-tracing/elasticjob-tracing-api/pom.xml | 9 ---------
.../elasticjob-tracing/elasticjob-tracing-rdb/pom.xml | 5 -----
elasticjob-infra/elasticjob-infra-common/pom.xml | 9 ---------
.../elasticjob-registry-center-api/pom.xml | 5 +----
.../elasticjob-registry-center-zookeeper-curator/pom.xml | 6 ------
elasticjob-infra/elasticjob-registry-center/pom.xml | 1 -
elasticjob-infra/elasticjob-restful/pom.xml | 8 ++------
elasticjob-lite/elasticjob-lite-core/pom.xml | 5 -----
elasticjob-lite/elasticjob-lite-lifecycle/pom.xml | 4 ----
.../elasticjob-lite-spring-boot-starter/pom.xml | 6 ------
.../elasticjob-lite-spring-core/pom.xml | 4 ----
.../elasticjob-lite-spring-namespace/pom.xml | 4 ----
pom.xml | 10 ++++++++++
25 files changed, 13 insertions(+), 135 deletions(-)
diff --git a/elasticjob-api/pom.xml b/elasticjob-api/pom.xml
index d9b5a29c6..e36f81910 100644
--- a/elasticjob-api/pom.xml
+++ b/elasticjob-api/pom.xml
@@ -25,16 +25,4 @@
</parent>
<artifactId>elasticjob-api</artifactId>
<name>${project.artifactId}</name>
-
- <dependencies>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
- </dependencies>
</project>
diff --git a/elasticjob-cloud/elasticjob-cloud-common/pom.xml
b/elasticjob-cloud/elasticjob-cloud-common/pom.xml
index 2b5eb46e0..37c515c1c 100755
--- a/elasticjob-cloud/elasticjob-cloud-common/pom.xml
+++ b/elasticjob-cloud/elasticjob-cloud-common/pom.xml
@@ -68,10 +68,6 @@
<version>${project.parent.version}</version>
</dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- </dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
@@ -93,11 +89,6 @@
<artifactId>slf4j-api</artifactId>
</dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
-
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-test</artifactId>
diff --git a/elasticjob-cloud/elasticjob-cloud-executor/pom.xml
b/elasticjob-cloud/elasticjob-cloud-executor/pom.xml
index f1d8ccb39..7111432cd 100755
--- a/elasticjob-cloud/elasticjob-cloud-executor/pom.xml
+++ b/elasticjob-cloud/elasticjob-cloud-executor/pom.xml
@@ -46,10 +46,6 @@
<artifactId>commons-dbcp2</artifactId>
</dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
diff --git a/elasticjob-cloud/elasticjob-cloud-scheduler/pom.xml
b/elasticjob-cloud/elasticjob-cloud-scheduler/pom.xml
index 0ca466568..7dc994fc3 100755
--- a/elasticjob-cloud/elasticjob-cloud-scheduler/pom.xml
+++ b/elasticjob-cloud/elasticjob-cloud-scheduler/pom.xml
@@ -58,10 +58,6 @@
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- </dependency>
<dependency>
<groupId>org.apache.mesos</groupId>
<artifactId>mesos</artifactId>
@@ -90,10 +86,6 @@
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-test</artifactId>
diff --git
a/elasticjob-distribution/elasticjob-cloud-scheduler-distribution/pom.xml
b/elasticjob-distribution/elasticjob-cloud-scheduler-distribution/pom.xml
index 978cb225c..c0eb161d3 100644
--- a/elasticjob-distribution/elasticjob-cloud-scheduler-distribution/pom.xml
+++ b/elasticjob-distribution/elasticjob-cloud-scheduler-distribution/pom.xml
@@ -80,10 +80,6 @@
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- </dependency>
<dependency>
<groupId>org.apache.mesos</groupId>
<artifactId>mesos</artifactId>
diff --git
a/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-dingtalk/pom.xml
b/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-dingtalk/pom.xml
index bcb712c4b..f925e4664 100644
---
a/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-dingtalk/pom.xml
+++
b/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-dingtalk/pom.xml
@@ -43,10 +43,6 @@
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
diff --git
a/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-email/pom.xml
b/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-email/pom.xml
index 7da18a094..22f36be9f 100644
---
a/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-email/pom.xml
+++
b/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-email/pom.xml
@@ -36,10 +36,6 @@
<artifactId>elasticjob-error-handler-general</artifactId>
<version>${project.parent.version}</version>
</dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
diff --git
a/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-general/pom.xml
b/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-general/pom.xml
index 1f823ad4e..f3cf22792 100644
---
a/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-general/pom.xml
+++
b/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-general/pom.xml
@@ -42,11 +42,6 @@
<artifactId>slf4j-api</artifactId>
</dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
-
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
diff --git
a/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-wechat/pom.xml
b/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-wechat/pom.xml
index 5ee5fdd34..46a869662 100644
---
a/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-wechat/pom.xml
+++
b/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-wechat/pom.xml
@@ -43,10 +43,6 @@
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
diff --git
a/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-kernel/pom.xml
b/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-kernel/pom.xml
index 4e75e6421..07c957017 100644
---
a/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-kernel/pom.xml
+++
b/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-kernel/pom.xml
@@ -48,11 +48,6 @@
<version>${project.parent.version}</version>
</dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
-
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
diff --git
a/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/elasticjob-http-executor/pom.xml
b/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/elasticjob-http-executor/pom.xml
index 43dd477f1..ceba1b6ca 100644
---
a/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/elasticjob-http-executor/pom.xml
+++
b/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/elasticjob-http-executor/pom.xml
@@ -40,12 +40,6 @@
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <scope>provided</scope>
- </dependency>
-
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
diff --git
a/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/pom.xml
b/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/pom.xml
index bf34d52d9..7ba4b4930 100644
--- a/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/pom.xml
+++ b/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/pom.xml
@@ -33,11 +33,4 @@
<module>elasticjob-script-executor</module>
<module>elasticjob-http-executor</module>
</modules>
-
- <dependencies>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
- </dependencies>
</project>
diff --git
a/elasticjob-ecosystem/elasticjob-tracing/elasticjob-tracing-api/pom.xml
b/elasticjob-ecosystem/elasticjob-tracing/elasticjob-tracing-api/pom.xml
index f1745faeb..287846d28 100644
--- a/elasticjob-ecosystem/elasticjob-tracing/elasticjob-tracing-api/pom.xml
+++ b/elasticjob-ecosystem/elasticjob-tracing/elasticjob-tracing-api/pom.xml
@@ -42,21 +42,12 @@
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- </dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
-
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
diff --git
a/elasticjob-ecosystem/elasticjob-tracing/elasticjob-tracing-rdb/pom.xml
b/elasticjob-ecosystem/elasticjob-tracing/elasticjob-tracing-rdb/pom.xml
index c9ff6ba2d..dd4d492c7 100644
--- a/elasticjob-ecosystem/elasticjob-tracing/elasticjob-tracing-rdb/pom.xml
+++ b/elasticjob-ecosystem/elasticjob-tracing/elasticjob-tracing-rdb/pom.xml
@@ -33,11 +33,6 @@
<version>${project.parent.version}</version>
</dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
-
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
diff --git a/elasticjob-infra/elasticjob-infra-common/pom.xml
b/elasticjob-infra/elasticjob-infra-common/pom.xml
index 431435846..518a2556b 100644
--- a/elasticjob-infra/elasticjob-infra-common/pom.xml
+++ b/elasticjob-infra/elasticjob-infra-common/pom.xml
@@ -33,10 +33,6 @@
<version>${project.parent.version}</version>
</dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- </dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
@@ -55,11 +51,6 @@
<version>${slf4j.version}</version>
</dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
-
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
diff --git
a/elasticjob-infra/elasticjob-registry-center/elasticjob-registry-center-api/pom.xml
b/elasticjob-infra/elasticjob-registry-center/elasticjob-registry-center-api/pom.xml
index e89073a22..e92a2ce42 100644
---
a/elasticjob-infra/elasticjob-registry-center/elasticjob-registry-center-api/pom.xml
+++
b/elasticjob-infra/elasticjob-registry-center/elasticjob-registry-center-api/pom.xml
@@ -31,10 +31,7 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
+
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
diff --git
a/elasticjob-infra/elasticjob-registry-center/elasticjob-regitry-center-provider/elasticjob-registry-center-zookeeper-curator/pom.xml
b/elasticjob-infra/elasticjob-registry-center/elasticjob-regitry-center-provider/elasticjob-registry-center-zookeeper-curator/pom.xml
index 8685723b4..e0176829a 100644
---
a/elasticjob-infra/elasticjob-registry-center/elasticjob-regitry-center-provider/elasticjob-registry-center-zookeeper-curator/pom.xml
+++
b/elasticjob-infra/elasticjob-registry-center/elasticjob-regitry-center-provider/elasticjob-registry-center-zookeeper-curator/pom.xml
@@ -46,11 +46,6 @@
<artifactId>curator-recipes</artifactId>
</dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
-
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-test</artifactId>
@@ -71,5 +66,4 @@
<scope>test</scope>
</dependency>
</dependencies>
-
</project>
diff --git a/elasticjob-infra/elasticjob-registry-center/pom.xml
b/elasticjob-infra/elasticjob-registry-center/pom.xml
index 953f4f0c7..a5b3b513d 100644
--- a/elasticjob-infra/elasticjob-registry-center/pom.xml
+++ b/elasticjob-infra/elasticjob-registry-center/pom.xml
@@ -31,5 +31,4 @@
<module>elasticjob-registry-center-api</module>
<module>elasticjob-regitry-center-provider</module>
</modules>
-
</project>
diff --git a/elasticjob-infra/elasticjob-restful/pom.xml
b/elasticjob-infra/elasticjob-restful/pom.xml
index d1a49c710..3a15d0ddc 100644
--- a/elasticjob-infra/elasticjob-restful/pom.xml
+++ b/elasticjob-infra/elasticjob-restful/pom.xml
@@ -23,7 +23,6 @@
<artifactId>elasticjob-infra</artifactId>
<version>3.1.0-SNAPSHOT</version>
</parent>
-
<artifactId>elasticjob-restful</artifactId>
<name>${project.artifactId}</name>
@@ -33,15 +32,11 @@
<artifactId>elasticjob-infra-common</artifactId>
<version>${project.parent.version}</version>
</dependency>
+
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-codec-http</artifactId>
</dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <scope>provided</scope>
- </dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
@@ -60,6 +55,7 @@
<artifactId>netty-transport</artifactId>
</dependency>
</dependencies>
+
<build>
<resources>
<resource>
diff --git a/elasticjob-lite/elasticjob-lite-core/pom.xml
b/elasticjob-lite/elasticjob-lite-core/pom.xml
index dc30809ed..63085747c 100644
--- a/elasticjob-lite/elasticjob-lite-core/pom.xml
+++ b/elasticjob-lite/elasticjob-lite-core/pom.xml
@@ -90,11 +90,6 @@
<artifactId>quartz</artifactId>
</dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
-
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-test</artifactId>
diff --git a/elasticjob-lite/elasticjob-lite-lifecycle/pom.xml
b/elasticjob-lite/elasticjob-lite-lifecycle/pom.xml
index 4ed6e1c08..851d25431 100644
--- a/elasticjob-lite/elasticjob-lite-lifecycle/pom.xml
+++ b/elasticjob-lite/elasticjob-lite-lifecycle/pom.xml
@@ -39,10 +39,6 @@
<scope>provided</scope>
</dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
diff --git
a/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-boot-starter/pom.xml
b/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-boot-starter/pom.xml
index c38fc9284..0a953fbd0 100644
---
a/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-boot-starter/pom.xml
+++
b/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-boot-starter/pom.xml
@@ -47,12 +47,6 @@
<optional>true</optional>
</dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <optional>true</optional>
- </dependency>
-
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
diff --git
a/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-core/pom.xml
b/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-core/pom.xml
index ecc22a6fc..e26680449 100644
--- a/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-core/pom.xml
+++ b/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-core/pom.xml
@@ -52,10 +52,6 @@
</exclusion>
</exclusions>
</dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
diff --git
a/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-namespace/pom.xml
b/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-namespace/pom.xml
index be017f866..3ccecc915 100644
---
a/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-namespace/pom.xml
+++
b/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-namespace/pom.xml
@@ -67,10 +67,6 @@
<scope>provided</scope>
</dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-test</artifactId>
diff --git a/pom.xml b/pom.xml
index 526b51de2..58732876f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -362,6 +362,16 @@
</dependencyManagement>
<dependencies>
+ <dependency>
+ <groupId>com.google.guava</groupId>
+ <artifactId>guava</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.projectlombok</groupId>
+ <artifactId>lombok</artifactId>
+ </dependency>
+
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>