You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by li...@apache.org on 2022/01/13 07:22:52 UTC

[dubbo] branch 3.0 updated: fix java 17 zookeeper test module

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

liujun pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/3.0 by this push:
     new fbbb7a3  fix java 17 zookeeper test module
fbbb7a3 is described below

commit fbbb7a32da4d2330d71df0f62584fd8f35a5cb0e
Author: ken.lj <ke...@gmail.com>
AuthorDate: Thu Jan 13 15:21:23 2022 +0800

    fix java 17 zookeeper test module
---
 dubbo-test/dubbo-test-check/pom.xml | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/dubbo-test/dubbo-test-check/pom.xml b/dubbo-test/dubbo-test-check/pom.xml
index 49414f7..ff78b0c 100644
--- a/dubbo-test/dubbo-test-check/pom.xml
+++ b/dubbo-test/dubbo-test-check/pom.xml
@@ -33,7 +33,8 @@
         <maven.compiler.target>8</maven.compiler.target>
         <skip_maven_deploy>true</skip_maven_deploy>
         <curator.test.version>4.2.0</curator.test.version>
-        <zookeeper.test.version>3.4.13</zookeeper.test.version>
+        <zookeeper.version>3.4.13</zookeeper.version>
+        <curator5.version>4.2.0</curator5.version>
         <commons.compress.version>1.20</commons.compress.version>
         <junit.platform.launcher.version>1.6.2</junit.platform.launcher.version>
         <commons.exec.version>1.3</commons.exec.version>
@@ -57,12 +58,12 @@
         <dependency>
             <groupId>org.apache.zookeeper</groupId>
             <artifactId>zookeeper</artifactId>
-            <version>${zookeeper.test.version}</version>
+            <version>${zookeeper.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.curator</groupId>
             <artifactId>curator-framework</artifactId>
-            <version>${curator.test.version}</version>
+            <version>${curator5.version}</version>
         </dependency>
         <!-- tar.gz -->
         <dependency>
@@ -88,11 +89,12 @@
         <profile>
             <id>curator5</id>
             <activation>
-                <jdk>1.17</jdk>
+                <jdk>[1.17,)</jdk>
             </activation>
             <properties>
                 <curator.test.version>5.1.0</curator.test.version>
-                <zookeeper.test.version>3.6.0</zookeeper.test.version>
+                <zookeeper.version>3.6.0</zookeeper.version>
+                <curator5.version>5.1.0</curator5.version>
             </properties>
         </profile>
     </profiles>