Skip to content

Commit

Permalink
Move jetcd dependencies to etcd module (#28836)
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu authored Oct 22, 2023
1 parent f1265c7 commit 2dadc44
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 16 deletions.
24 changes: 24 additions & 0 deletions mode/type/cluster/repository/provider/etcd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
16 changes: 0 additions & 16 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 2dadc44

Please sign in to comment.