From 0a75c0b8c04d9b183a2d8715d8219397762c58cc Mon Sep 17 00:00:00 2001
From: Jefferson Chern <99602200+jefferson-chern@users.noreply.github.com>
Date: Tue, 4 Jun 2024 22:08:24 +0800
Subject: [PATCH] # 1.add guava in nacos-spring-context; (#342)
# 2.refactor dependency version.
---
nacos-spring-context-aot/pom.xml | 1 -
nacos-spring-context/pom.xml | 25 ++------
.../nacos-embedded-webserver/pom.xml | 11 +---
.../nacos-spring-webmvc-sample/pom.xml | 9 ---
nacos-spring-samples/pom.xml | 16 -----
pom.xml | 60 +++++++++++++------
6 files changed, 48 insertions(+), 74 deletions(-)
diff --git a/nacos-spring-context-aot/pom.xml b/nacos-spring-context-aot/pom.xml
index ff733ab..3ecc158 100644
--- a/nacos-spring-context-aot/pom.xml
+++ b/nacos-spring-context-aot/pom.xml
@@ -34,5 +34,4 @@
true
-
\ No newline at end of file
diff --git a/nacos-spring-context/pom.xml b/nacos-spring-context/pom.xml
index b480fdb..8323a8e 100644
--- a/nacos-spring-context/pom.xml
+++ b/nacos-spring-context/pom.xml
@@ -17,19 +17,15 @@
jar
-
javax.annotation
javax.annotation-api
- ${javax.annotation-api.version}
-
com.alibaba.nacos
nacos-client
- ${nacos.version}
org.yaml
@@ -41,38 +37,30 @@
-
com.fasterxml.jackson.core
jackson-core
- 2.13.4
-
org.yaml
snakeyaml
- ${snake.yaml.version}
-
org.springframework
spring-context
provided
-
org.apache.commons
commons-lang3
-
com.alibaba.spring
spring-context-support
-
${project.groupId}
@@ -80,30 +68,27 @@
${project.version}
test
-
junit
junit
-
org.springframework
spring-test
test
-
ch.qos.logback
logback-classic
- 1.2.9
provided
-
org.mockito
mockito-core
-
+
+ com.google.guava
+ guava
+
-
-
+
\ No newline at end of file
diff --git a/nacos-spring-samples/nacos-embedded-webserver/pom.xml b/nacos-spring-samples/nacos-embedded-webserver/pom.xml
index 1acb2d9..3574445 100644
--- a/nacos-spring-samples/nacos-embedded-webserver/pom.xml
+++ b/nacos-spring-samples/nacos-embedded-webserver/pom.xml
@@ -15,34 +15,25 @@
Alibaba Nacos :: Samples :: Embedded Web Server
-
javax.servlet
javax.servlet-api
-
javax.annotation
javax.annotation-api
-
com.alibaba.nacos
nacos-client
- ${nacos.version}
-
org.slf4j
slf4j-api
- ${slf4j.version}
- compile
-
org.springframework
spring-core
-
-
+
\ No newline at end of file
diff --git a/nacos-spring-samples/nacos-spring-webmvc-sample/pom.xml b/nacos-spring-samples/nacos-spring-webmvc-sample/pom.xml
index 1c30562..ec60448 100644
--- a/nacos-spring-samples/nacos-spring-webmvc-sample/pom.xml
+++ b/nacos-spring-samples/nacos-spring-webmvc-sample/pom.xml
@@ -16,45 +16,36 @@
war
-
javax.servlet
javax.servlet-api
-
javax.annotation
javax.annotation-api
-
org.springframework
spring-core
- 4.0.5.RELEASE
-
org.springframework
spring-context
-
org.springframework
spring-webmvc
-
${project.groupId}
nacos-spring-context
${project.version}
-
${project.groupId}
nacos-embedded-webserver
${project.version}
-
diff --git a/nacos-spring-samples/pom.xml b/nacos-spring-samples/pom.xml
index 9f1c605..915805f 100644
--- a/nacos-spring-samples/pom.xml
+++ b/nacos-spring-samples/pom.xml
@@ -20,20 +20,6 @@
nacos-spring-webmvc-sample
-
-
-
-
-
- org.springframework
- spring-webmvc
- ${spring.framework.version}
-
-
-
-
-
-
@@ -46,6 +32,4 @@
-
-
diff --git a/pom.xml b/pom.xml
index d4095c0..2158549 100644
--- a/pom.xml
+++ b/pom.xml
@@ -51,14 +51,12 @@
-
Alibaba Nacos
Nacos
http://nacos.io
nacos_dev@linux.alibaba.com
-
mercyblitz
小马哥
@@ -93,8 +91,10 @@
2.2.1
5.2.9.RELEASE
+ 1.2.9
+ 32.0.0-jre
6.0.8
- 1.29
+ 1.29
3.0.1
@@ -103,83 +103,107 @@
3.4
1.0.11
+ 2.13.4
1.7.7
+ 4.12
+ 2.15.0
-
javax.servlet
javax.servlet-api
${servlet-api.version}
provided
-
+
+ org.slf4j
+ slf4j-api
+ ${slf4j.version}
+ compile
+
com.alibaba.nacos
nacos-client
${nacos.version}
-
com.alibaba.spring
spring-context-support
${spring-context-support.version}
-
javax.annotation
javax.annotation-api
${javax.annotation-api.version}
-
+
+ com.fasterxml.jackson.core
+ jackson-core
+ ${jackson-core.version}
+
+
+
+ org.yaml
+ snakeyaml
+ ${snakeyaml.version}
+
org.apache.commons
commons-lang3
${commons-lang3.version}
-
-
org.springframework
spring-core
${spring.framework.version}
true
-
org.springframework
spring-context
${spring.framework.version}
true
-
junit
junit
- 4.12
+ ${junit.version}
test
-
org.springframework
spring-test
${spring.framework.version}
test
-
org.mockito
mockito-core
- 2.15.0
+ ${mockito-core.version}
test
-
+
+ org.springframework
+ spring-webmvc
+ ${spring.framework.version}
+
+
+ ch.qos.logback
+ logback-classic
+ ${logback-classic.version}
+ provided
+
+
+ com.google.guava
+ guava
+ ${guava.version}
+
@@ -282,7 +306,7 @@
org.codehaus.mojo
flatten-maven-plugin
- 1.1.0
+ 1.6.0
true
resolveCiFriendliesOnly