From 9ae1d6808d1f20871e80f8a471fe02c5766e51c3 Mon Sep 17 00:00:00 2001 From: zhangliang Date: Sun, 15 Oct 2023 11:26:52 +0800 Subject: [PATCH 1/2] Refactor spring dependencies --- spring/boot-starter/pom.xml | 3 +-- spring/core/pom.xml | 23 ++-------------------- spring/namespace/pom.xml | 38 ++++++++----------------------------- spring/pom.xml | 6 ++++++ 4 files changed, 17 insertions(+), 53 deletions(-) diff --git a/spring/boot-starter/pom.xml b/spring/boot-starter/pom.xml index eeab8a741c..dfbd074fe2 100644 --- a/spring/boot-starter/pom.xml +++ b/spring/boot-starter/pom.xml @@ -32,6 +32,7 @@ elasticjob-engine-spring-core ${project.parent.version} + org.springframework.boot spring-boot-starter @@ -55,7 +56,6 @@ org.apache.curator curator-test - test com.h2database @@ -65,7 +65,6 @@ org.awaitility awaitility - test diff --git a/spring/core/pom.xml b/spring/core/pom.xml index 73be5f0aab..cd2d479050 100644 --- a/spring/core/pom.xml +++ b/spring/core/pom.xml @@ -38,6 +38,7 @@ + org.springframework spring-context @@ -45,31 +46,11 @@ org.springframework spring-context-support - - - org.springframework - spring-context - - + org.springframework spring-test - - org.slf4j - jcl-over-slf4j - test - - - org.slf4j - log4j-over-slf4j - test - - - ch.qos.logback - logback-classic - test - diff --git a/spring/namespace/pom.xml b/spring/namespace/pom.xml index 250a0191e0..a51a6a2247 100644 --- a/spring/namespace/pom.xml +++ b/spring/namespace/pom.xml @@ -33,21 +33,6 @@ ${project.parent.version} - - org.springframework - spring-context - - - org.springframework - spring-context-support - - - org.springframework - spring-context - - - - org.apache.shardingsphere.elasticjob elasticjob-error-handler-email @@ -68,31 +53,25 @@ - org.apache.curator - curator-test + org.springframework + spring-context org.springframework - spring-test + spring-context-support + org.aspectj aspectjweaver - org.slf4j - jcl-over-slf4j - test - - - org.slf4j - log4j-over-slf4j - test + org.apache.curator + curator-test - ch.qos.logback - logback-classic - test + org.springframework + spring-test com.h2database @@ -106,7 +85,6 @@ org.awaitility awaitility - test diff --git a/spring/pom.xml b/spring/pom.xml index e343358d7f..ec75e56cc5 100644 --- a/spring/pom.xml +++ b/spring/pom.xml @@ -57,6 +57,12 @@ org.springframework spring-context-support ${springframework.version} + + + org.springframework + spring-context + + provided From cf9552aed67f9e2265ee8c75661d88d98cac74f4 Mon Sep 17 00:00:00 2001 From: zhangliang Date: Sun, 15 Oct 2023 11:30:26 +0800 Subject: [PATCH 2/2] Refactor spring dependencies --- spring/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring/pom.xml b/spring/pom.xml index ec75e56cc5..581f0dc97e 100644 --- a/spring/pom.xml +++ b/spring/pom.xml @@ -57,13 +57,13 @@ org.springframework spring-context-support ${springframework.version} + provided org.springframework spring-context - provided org.springframework