fix java api maven dependency version (#905)
* fix java api maven dependency version
* add link of latest version
diff --git a/src/UserGuide/Master/Table/API/Programming-Java-Native-API_apache.md b/src/UserGuide/Master/Table/API/Programming-Java-Native-API_apache.md
index 8775f4e..1303ae8 100644
--- a/src/UserGuide/Master/Table/API/Programming-Java-Native-API_apache.md
+++ b/src/UserGuide/Master/Table/API/Programming-Java-Native-API_apache.md
@@ -38,10 +38,12 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-session</artifactId>
- <version>2.0.1-beta</version>
+ <!-- The version number is the same as the database version number -->
+ <version>${project.version}</version>
</dependency>
</dependencies>
```
+* The latest version of `iotdb-session` can be viewed [here](https://repo1.maven.org/maven2/org/apache/iotdb/iotdb-session/)
## 3. Read and Write Operations
diff --git a/src/UserGuide/Master/Table/API/Programming-Java-Native-API_timecho.md b/src/UserGuide/Master/Table/API/Programming-Java-Native-API_timecho.md
index c04b18e..874b82f 100644
--- a/src/UserGuide/Master/Table/API/Programming-Java-Native-API_timecho.md
+++ b/src/UserGuide/Master/Table/API/Programming-Java-Native-API_timecho.md
@@ -38,10 +38,12 @@
<dependency>
<groupId>com.timecho.iotdb</groupId>
<artifactId>iotdb-session</artifactId>
- <version>2.0.1.1</version>
+ <!-- The version number is the same as the database version number -->
+ <version>${project.version}</version>
</dependency>
</dependencies>
```
+* The latest version of `iotdb-session` can be viewed [here](https://repo1.maven.org/maven2/com/timecho/iotdb/iotdb-session/)
## 3. Read and Write Operations
diff --git a/src/UserGuide/latest-Table/API/Programming-Java-Native-API_apache.md b/src/UserGuide/latest-Table/API/Programming-Java-Native-API_apache.md
index 07cca5c..df3e249 100644
--- a/src/UserGuide/latest-Table/API/Programming-Java-Native-API_apache.md
+++ b/src/UserGuide/latest-Table/API/Programming-Java-Native-API_apache.md
@@ -38,10 +38,12 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-session</artifactId>
- <version>2.0.1-beta</version>
+ <!-- The version number is the same as the database version number -->
+ <version>${project.version}</version>
</dependency>
</dependencies>
```
+* The latest version of `iotdb-session` can be viewed [here](https://repo1.maven.org/maven2/org/apache/iotdb/iotdb-session/)
## 3. Read and Write Operations
diff --git a/src/UserGuide/latest-Table/API/Programming-Java-Native-API_timecho.md b/src/UserGuide/latest-Table/API/Programming-Java-Native-API_timecho.md
index c04b18e..874b82f 100644
--- a/src/UserGuide/latest-Table/API/Programming-Java-Native-API_timecho.md
+++ b/src/UserGuide/latest-Table/API/Programming-Java-Native-API_timecho.md
@@ -38,10 +38,12 @@
<dependency>
<groupId>com.timecho.iotdb</groupId>
<artifactId>iotdb-session</artifactId>
- <version>2.0.1.1</version>
+ <!-- The version number is the same as the database version number -->
+ <version>${project.version}</version>
</dependency>
</dependencies>
```
+* The latest version of `iotdb-session` can be viewed [here](https://repo1.maven.org/maven2/com/timecho/iotdb/iotdb-session/)
## 3. Read and Write Operations
diff --git a/src/zh/UserGuide/Master/Table/API/Programming-Java-Native-API_apache.md b/src/zh/UserGuide/Master/Table/API/Programming-Java-Native-API_apache.md
index db551c9..c5a3593 100644
--- a/src/zh/UserGuide/Master/Table/API/Programming-Java-Native-API_apache.md
+++ b/src/zh/UserGuide/Master/Table/API/Programming-Java-Native-API_apache.md
@@ -39,10 +39,12 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-session</artifactId>
- <version>2.0.1-beta</version>
+ <!-- 版本号与数据库版本号相同 -->
+ <version>${project.version}</version>
</dependency>
</dependencies>
```
+* 可从[此处](https://repo1.maven.org/maven2/org/apache/iotdb/iotdb-session/)查看`iotdb-session`最新版本
## 3. 读写操作
diff --git a/src/zh/UserGuide/Master/Table/API/Programming-Java-Native-API_timecho.md b/src/zh/UserGuide/Master/Table/API/Programming-Java-Native-API_timecho.md
index cf6c935..6bc98b9 100644
--- a/src/zh/UserGuide/Master/Table/API/Programming-Java-Native-API_timecho.md
+++ b/src/zh/UserGuide/Master/Table/API/Programming-Java-Native-API_timecho.md
@@ -39,10 +39,12 @@
<dependency>
<groupId>com.timecho.iotdb</groupId>
<artifactId>iotdb-session</artifactId>
- <version>2.0.1.1</version>
+ <!-- 版本号与数据库版本号相同 -->
+ <version>${project.version}</version>
</dependency>
</dependencies>
```
+* 可从[此处](https://repo1.maven.org/maven2/com/timecho/iotdb/iotdb-session/)查看`iotdb-session`最新版本
## 3. 读写操作
diff --git a/src/zh/UserGuide/latest-Table/API/Programming-Java-Native-API_apache.md b/src/zh/UserGuide/latest-Table/API/Programming-Java-Native-API_apache.md
index db551c9..c5a3593 100644
--- a/src/zh/UserGuide/latest-Table/API/Programming-Java-Native-API_apache.md
+++ b/src/zh/UserGuide/latest-Table/API/Programming-Java-Native-API_apache.md
@@ -39,10 +39,12 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-session</artifactId>
- <version>2.0.1-beta</version>
+ <!-- 版本号与数据库版本号相同 -->
+ <version>${project.version}</version>
</dependency>
</dependencies>
```
+* 可从[此处](https://repo1.maven.org/maven2/org/apache/iotdb/iotdb-session/)查看`iotdb-session`最新版本
## 3. 读写操作
diff --git a/src/zh/UserGuide/latest-Table/API/Programming-Java-Native-API_timecho.md b/src/zh/UserGuide/latest-Table/API/Programming-Java-Native-API_timecho.md
index cf6c935..6bc98b9 100644
--- a/src/zh/UserGuide/latest-Table/API/Programming-Java-Native-API_timecho.md
+++ b/src/zh/UserGuide/latest-Table/API/Programming-Java-Native-API_timecho.md
@@ -39,10 +39,12 @@
<dependency>
<groupId>com.timecho.iotdb</groupId>
<artifactId>iotdb-session</artifactId>
- <version>2.0.1.1</version>
+ <!-- 版本号与数据库版本号相同 -->
+ <version>${project.version}</version>
</dependency>
</dependencies>
```
+* 可从[此处](https://repo1.maven.org/maven2/com/timecho/iotdb/iotdb-session/)查看`iotdb-session`最新版本
## 3. 读写操作