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

wangguangyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 2dadc44c163 Move jetcd dependencies to etcd module (#28836)
2dadc44c163 is described below

commit 2dadc44c16304697bd13243ce3259e7e3dfdd5c3
Author: Liang Zhang <[email protected]>
AuthorDate: Sun Oct 22 11:32:20 2023 +0800

    Move jetcd dependencies to etcd module (#28836)
---
 mode/type/cluster/repository/provider/etcd/pom.xml | 24 ++++++++++++++++++++++
 pom.xml                                            | 16 ---------------
 2 files changed, 24 insertions(+), 16 deletions(-)

diff --git a/mode/type/cluster/repository/provider/etcd/pom.xml 
b/mode/type/cluster/repository/provider/etcd/pom.xml
index 26cc23f4020..faf4162e868 100644
--- a/mode/type/cluster/repository/provider/etcd/pom.xml
+++ b/mode/type/cluster/repository/provider/etcd/pom.xml
@@ -26,6 +26,30 @@
     <artifactId>shardingsphere-cluster-mode-repository-etcd</artifactId>
     <name>${project.artifactId}</name>
     
+    <properties>
+        <jetcd.version>0.7.6</jetcd.version>
+    </properties>
+    
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <groupId>io.etcd</groupId>
+                <artifactId>jetcd-core</artifactId>
+                <version>${jetcd.version}</version>
+                <exclusions>
+                    <exclusion>
+                        <groupId>com.google.android</groupId>
+                        <artifactId>annotations</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>io.vertx</groupId>
+                        <artifactId>vertx-grpc</artifactId>
+                    </exclusion>
+                </exclusions>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+    
     <dependencies>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
diff --git a/pom.xml b/pom.xml
index 3f41817e3ba..3928a75a5e9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -97,7 +97,6 @@
         
         <zookeeper.version>3.9.0</zookeeper.version>
         <curator.version>5.5.0</curator.version>
-        <jetcd.version>0.7.6</jetcd.version>
         <grpc.version>1.58.0</grpc.version>
         <protobuf.version>3.21.12</protobuf.version>
         
@@ -346,21 +345,6 @@
                 <artifactId>curator-recipes</artifactId>
                 <version>${curator.version}</version>
             </dependency>
-            <dependency>
-                <groupId>io.etcd</groupId>
-                <artifactId>jetcd-core</artifactId>
-                <version>${jetcd.version}</version>
-                <exclusions>
-                    <exclusion>
-                        <groupId>com.google.android</groupId>
-                        <artifactId>annotations</artifactId>
-                    </exclusion>
-                    <exclusion>
-                        <groupId>io.vertx</groupId>
-                        <artifactId>vertx-grpc</artifactId>
-                    </exclusion>
-                </exclusions>
-            </dependency>
             <dependency>
                 <groupId>io.grpc</groupId>
                 <artifactId>grpc-bom</artifactId>

Reply via email to