From 82e9d4198c1a7ab1056ae1b78068a01fac697e22 Mon Sep 17 00:00:00 2001 From: Nicole00 Date: Fri, 7 Jan 2022 16:20:43 +0800 Subject: [PATCH] update client SNAPSHOT version --- README.md | 10 +++++----- client/pom.xml | 13 ++++++++++++- examples/pom.xml | 2 +- pom.xml | 2 +- 4 files changed, 19 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 56f0d50b7..1b802835a 100644 --- a/README.md +++ b/README.md @@ -37,19 +37,19 @@ The v2.0.0-rc branch works with Nebula Graph v2.0.0-beta and v2.0.0-rc1, but not To use this Java client, do a check of these: - Java 8 or a later version is installed. -- Nebula Graph v2.0 is deployed. For more information, see [Deployment and installation of Nebula Graph](https://docs.nebula-graph.io/2.0/4.deployment-and-installation/1.resource-preparations/ "Click to go to Nebula Graph website"). +- Nebula Graph is deployed. For more information, see [Deployment and installation of Nebula Graph](https://docs.nebula-graph.io/master/4.deployment-and-installation/1.resource-preparations/ "Click to go to Nebula Graph website"). ## Modify pom.xml If you use Maven to manage your project, add the following dependency to your `pom.xml` file. -Replace `2.0.0-SNAPSHOT` with an appropriate Nebula Java v2.x version. +Replace `3.0-SNAPSHOT` with an appropriate Nebula Java version. For more versions, visit [releases](https://github.com/vesoft-inc/nebula-java/releases). ```xml com.vesoft client - 2.0.0-SNAPSHOT + 3.0-SNAPSHOT ``` There are the version correspondence between client and Nebula: @@ -67,11 +67,11 @@ There are the version correspondence between client and Nebula: | 2.5.0 | 2.5.0,2.5.1 | | 2.6.0 | 2.6.0,2.6.1 | | 2.6.1 | 2.6.0,2.6.1 | -| 2.0.0-SNAPSHOT| nightly | +| 3.0-SNAPSHOT | nightly | ## Graph client example -To connect to the `nebula-graphd` process of Nebula Graph v2.0: +To connect to the `nebula-graphd` process of Nebula Graph: ```java NebulaPoolConfig nebulaPoolConfig = new NebulaPoolConfig(); diff --git a/client/pom.xml b/client/pom.xml index 4de51a6f4..a58c32ccb 100644 --- a/client/pom.xml +++ b/client/pom.xml @@ -5,7 +5,7 @@ com.vesoft nebula - 2.0.0-SNAPSHOT + 3.0-SNAPSHOT 4.0.0 @@ -38,6 +38,17 @@ + + + org.sonatype.plugins + nexus-staging-maven-plugin + true + + ossrh + https://oss.sonatype.org/ + true + + org.codehaus.mojo build-helper-maven-plugin diff --git a/examples/pom.xml b/examples/pom.xml index c2db1caea..7fbbd07ad 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -5,7 +5,7 @@ com.vesoft nebula - 2.0.0-SNAPSHOT + 3.0-SNAPSHOT 4.0.0 diff --git a/pom.xml b/pom.xml index ea4b52ed1..40f8b3ac2 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.vesoft nebula pom - 2.0.0-SNAPSHOT + 3.0-SNAPSHOT UTF-8