This is an automated email from the ASF dual-hosted git repository.

jianbin pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/incubator-seata.git


The following commit(s) were added to refs/heads/2.x by this push:
     new 6f9fa10448 optimize: simplify jackson related dependencies (#8043)
6f9fa10448 is described below

commit 6f9fa1044803be9498cd16365c30971f3c0be14e
Author: 徐晓伟 <[email protected]>
AuthorDate: Thu Apr 2 18:17:09 2026 +0800

    optimize: simplify jackson related dependencies (#8043)
---
 changes/en-us/2.x.md                           |  2 ++
 changes/zh-cn/2.x.md                           |  2 ++
 dependencies/pom.xml                           | 17 +++++------------
 discovery/seata-discovery-namingserver/pom.xml |  4 ----
 extensions/rpc/seata-sofa-rpc/pom.xml          |  5 -----
 rm-datasource/pom.xml                          |  4 ----
 6 files changed, 9 insertions(+), 25 deletions(-)

diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md
index d2685150b1..69dd592d22 100644
--- a/changes/en-us/2.x.md
+++ b/changes/en-us/2.x.md
@@ -53,6 +53,7 @@ Add changes here for all PR submitted to the 2.x branch.
 - [[#8019](https://github.com/apache/incubator-seata/pull/8019)] mark 
deprecated JSON parsers
 - [[#8031](https://github.com/apache/incubator-seata/pull/8031)] upgrade some 
dependencies versions
 - [[#8030](https://github.com/apache/incubator-seata/pull/8030)] add the 
dependency jackson-datatype-jsr310
+- [[#8043](https://github.com/apache/incubator-seata/pull/8043)] simplify 
jackson related dependencies
 
 
 ### security:
@@ -89,6 +90,7 @@ Thanks to these contributors for their code commits. Please 
report an unintended
 - [xiaoxiangyeyu0](https://github.com/xiaoxiangyeyu0)
 - [WangzJi](https://github.com/WangzJi)
 - [somiljain](https://github.com/somiljain)
+- [xuxiaowei-com-cn](https://github.com/xuxiaowei-com-cn)
 
 
 Also, we receive many valuable issues, questions and advices from our 
community. Thanks for you all.
diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md
index c969ea2c87..684efa04d7 100644
--- a/changes/zh-cn/2.x.md
+++ b/changes/zh-cn/2.x.md
@@ -54,6 +54,7 @@
 - [[#8019](https://github.com/apache/incubator-seata/pull/8019)] 标记弃用的json解析器
 - [[#8031](https://github.com/apache/incubator-seata/pull/8031)] 升级一些依赖版本
 - [[#8030](https://github.com/apache/incubator-seata/pull/8030)] 添加依赖 
jackson-datatype-jsr310
+- [[#8043](https://github.com/apache/incubator-seata/pull/8043)] 简化 jackson 
相关依赖
 
 
 
@@ -92,5 +93,6 @@
 - [Sumit6307](https://github.com/Sumit6307)
 - [xiaoxiangyeyu0](https://github.com/xiaoxiangyeyu0)
 - [WangzJi](https://github.com/WangzJi)
+- [xuxiaowei-com-cn](https://github.com/xuxiaowei-com-cn)
 
 同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。
diff --git a/dependencies/pom.xml b/dependencies/pom.xml
index cc1fa810e3..ff06e6bff3 100644
--- a/dependencies/pom.xml
+++ b/dependencies/pom.xml
@@ -913,20 +913,13 @@
                 <artifactId>commons-io</artifactId>
                 <version>${commons-io.version}</version>
             </dependency>
+            <!-- Jackson BOM to manage all Jackson dependencies -->
             <dependency>
-                <groupId>com.fasterxml.jackson.core</groupId>
-                <artifactId>jackson-databind</artifactId>
-                <version>${jackson.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>com.fasterxml.jackson.core</groupId>
-                <artifactId>jackson-core</artifactId>
-                <version>${jackson.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>com.fasterxml.jackson.core</groupId>
-                <artifactId>jackson-annotations</artifactId>
+                <groupId>com.fasterxml.jackson</groupId>
+                <artifactId>jackson-bom</artifactId>
                 <version>${jackson.version}</version>
+                <type>pom</type>
+                <scope>import</scope>
             </dependency>
             <dependency>
                 <groupId>cn.com.kingbase</groupId>
diff --git a/discovery/seata-discovery-namingserver/pom.xml 
b/discovery/seata-discovery-namingserver/pom.xml
index 5e10ae2654..75b0ef030a 100644
--- a/discovery/seata-discovery-namingserver/pom.xml
+++ b/discovery/seata-discovery-namingserver/pom.xml
@@ -59,10 +59,6 @@
             <groupId>org.springframework</groupId>
             <artifactId>spring-test</artifactId>
         </dependency>
-        <dependency>
-            <groupId>com.fasterxml.jackson.core</groupId>
-            <artifactId>jackson-core</artifactId>
-        </dependency>
         <dependency>
             <groupId>com.fasterxml.jackson.core</groupId>
             <artifactId>jackson-databind</artifactId>
diff --git a/extensions/rpc/seata-sofa-rpc/pom.xml 
b/extensions/rpc/seata-sofa-rpc/pom.xml
index c51492f760..be1e9b225c 100644
--- a/extensions/rpc/seata-sofa-rpc/pom.xml
+++ b/extensions/rpc/seata-sofa-rpc/pom.xml
@@ -48,10 +48,5 @@
             <artifactId>jackson-databind</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>com.fasterxml.jackson.core</groupId>
-            <artifactId>jackson-annotations</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
 </project>
\ No newline at end of file
diff --git a/rm-datasource/pom.xml b/rm-datasource/pom.xml
index e22d54adb8..0b06d56132 100644
--- a/rm-datasource/pom.xml
+++ b/rm-datasource/pom.xml
@@ -66,10 +66,6 @@
             <artifactId>protostuff-runtime</artifactId>
             <optional>true</optional>
         </dependency>
-        <dependency>
-            <groupId>com.fasterxml.jackson.core</groupId>
-            <artifactId>jackson-databind</artifactId>
-        </dependency>
         <dependency>
             <groupId>com.fasterxml.jackson.datatype</groupId>
             <artifactId>jackson-datatype-jsr310</artifactId>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to