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

jianglongtao 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 6b32fe796 Fix Netty version inconsistencies caused by 
spring-boot-dependencies (#2499)
6b32fe796 is described below

commit 6b32fe7968a98f7a4da26d30bc1054b63f3f12de
Author: Raigor <[email protected]>
AuthorDate: Sat Jan 31 17:30:25 2026 +0800

    Fix Netty version inconsistencies caused by spring-boot-dependencies (#2499)
---
 examples/pom.xml |  2 +-
 restful/pom.xml  | 14 +++-----------
 spring/pom.xml   |  7 +++++++
 3 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/examples/pom.xml b/examples/pom.xml
index d9a111f15..90a1d1485 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -39,7 +39,7 @@
         <revision>3.1.0-SNAPSHOT</revision>
         <java.version>1.8</java.version>
         
-        <curator.version>5.1.0</curator.version>
+        <curator.version>5.9.0</curator.version>
         <springframework.version>5.2.22.RELEASE</springframework.version>
         
         <slf4j.version>1.7.36</slf4j.version>
diff --git a/restful/pom.xml b/restful/pom.xml
index 9b3c8339a..eccb64caf 100644
--- a/restful/pom.xml
+++ b/restful/pom.xml
@@ -37,22 +37,14 @@
             <groupId>io.netty</groupId>
             <artifactId>netty-codec-http</artifactId>
         </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-jdk14</artifactId>
-            <optional>true</optional>
-        </dependency>
-        <dependency>
-            <groupId>io.netty</groupId>
-            <artifactId>netty-common</artifactId>
-        </dependency>
         <dependency>
             <groupId>io.netty</groupId>
             <artifactId>netty-codec</artifactId>
         </dependency>
         <dependency>
-            <groupId>io.netty</groupId>
-            <artifactId>netty-transport</artifactId>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-jdk14</artifactId>
+            <optional>true</optional>
         </dependency>
     </dependencies>
     
diff --git a/spring/pom.xml b/spring/pom.xml
index 1ffaaa303..e0b74f7d2 100644
--- a/spring/pom.xml
+++ b/spring/pom.xml
@@ -39,6 +39,13 @@
     
     <dependencyManagement>
         <dependencies>
+            <dependency>
+                <groupId>io.netty</groupId>
+                <artifactId>netty-bom</artifactId>
+                <version>${netty.version}</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
             <dependency>
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-dependencies</artifactId>

Reply via email to