[maven-release-plugin] prepare release v1.2.2
diff --git a/code-coverage/pom.xml b/code-coverage/pom.xml
index 54a3481..aa7578c 100644
--- a/code-coverage/pom.xml
+++ b/code-coverage/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <artifactId>iotdb-code-coverage</artifactId>
diff --git a/distribution/pom.xml b/distribution/pom.xml
index 14c3bc6..4e20f86 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <artifactId>iotdb-distribution</artifactId>
diff --git a/example/client-cpp-example/pom.xml b/example/client-cpp-example/pom.xml
index 4c8b744..cd883eb 100644
--- a/example/client-cpp-example/pom.xml
+++ b/example/client-cpp-example/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-examples</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <artifactId>client-cpp-example</artifactId>
diff --git a/example/flink-sql/pom.xml b/example/flink-sql/pom.xml
index 4729ef2..d7bfc0d 100644
--- a/example/flink-sql/pom.xml
+++ b/example/flink-sql/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-examples</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <artifactId>flink-sql-example</artifactId>
diff --git a/example/flink/pom.xml b/example/flink/pom.xml
index 12f61ae..4138588 100644
--- a/example/flink/pom.xml
+++ b/example/flink/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-examples</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <artifactId>flink-example</artifactId>
diff --git a/example/hadoop/pom.xml b/example/hadoop/pom.xml
index 380a0c0..2f0f686 100644
--- a/example/hadoop/pom.xml
+++ b/example/hadoop/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <artifactId>iotdb-examples</artifactId>
         <groupId>org.apache.iotdb</groupId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <artifactId>hadoop-example</artifactId>
diff --git a/example/jdbc/pom.xml b/example/jdbc/pom.xml
index 7218083..55b4507 100644
--- a/example/jdbc/pom.xml
+++ b/example/jdbc/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <artifactId>iotdb-examples</artifactId>
         <groupId>org.apache.iotdb</groupId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <artifactId>jdbc-example</artifactId>
diff --git a/example/kafka/pom.xml b/example/kafka/pom.xml
index 6becfe9..cbc1a7b 100644
--- a/example/kafka/pom.xml
+++ b/example/kafka/pom.xml
@@ -29,7 +29,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-examples</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <artifactId>kafka-example</artifactId>
diff --git a/example/mqtt-customize/pom.xml b/example/mqtt-customize/pom.xml
index 22d44ab..feed358 100644
--- a/example/mqtt-customize/pom.xml
+++ b/example/mqtt-customize/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-examples</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <artifactId>customize-mqtt-example</artifactId>
diff --git a/example/mqtt/pom.xml b/example/mqtt/pom.xml
index dca2d95..e2e2d4a 100644
--- a/example/mqtt/pom.xml
+++ b/example/mqtt/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-examples</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <artifactId>mqtt-example</artifactId>
diff --git a/example/pom.xml b/example/pom.xml
index 1e33004..b395c6c 100644
--- a/example/pom.xml
+++ b/example/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <packaging>pom</packaging>
diff --git a/example/pulsar/pom.xml b/example/pulsar/pom.xml
index 36bb63e..b1a90ea 100644
--- a/example/pulsar/pom.xml
+++ b/example/pulsar/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <artifactId>iotdb-examples</artifactId>
         <groupId>org.apache.iotdb</groupId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
diff --git a/example/rabbitmq/pom.xml b/example/rabbitmq/pom.xml
index b999442..0a49042 100644
--- a/example/rabbitmq/pom.xml
+++ b/example/rabbitmq/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-examples</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <artifactId>rabbitmq-example</artifactId>
diff --git a/example/rest-java-example/pom.xml b/example/rest-java-example/pom.xml
index d7568b6..abb84a5 100644
--- a/example/rest-java-example/pom.xml
+++ b/example/rest-java-example/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <artifactId>iotdb-examples</artifactId>
         <groupId>org.apache.iotdb</groupId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <artifactId>rest-java-example</artifactId>
diff --git a/example/rocketmq/pom.xml b/example/rocketmq/pom.xml
index 0ffb5c7..4abf0f7 100644
--- a/example/rocketmq/pom.xml
+++ b/example/rocketmq/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-examples</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <artifactId>rocketmq-example</artifactId>
diff --git a/example/session/pom.xml b/example/session/pom.xml
index 5c8280d..c50d05e 100644
--- a/example/session/pom.xml
+++ b/example/session/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <artifactId>iotdb-examples</artifactId>
         <groupId>org.apache.iotdb</groupId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <artifactId>client-example</artifactId>
diff --git a/example/trigger/pom.xml b/example/trigger/pom.xml
index 7035d71..3fb6197 100644
--- a/example/trigger/pom.xml
+++ b/example/trigger/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-examples</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <artifactId>trigger-example</artifactId>
diff --git a/example/tsfile/pom.xml b/example/tsfile/pom.xml
index c8ba35c..e74c32e 100644
--- a/example/tsfile/pom.xml
+++ b/example/tsfile/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-examples</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <artifactId>tsfile-example</artifactId>
diff --git a/example/udf/pom.xml b/example/udf/pom.xml
index 97b75bc..e55f1bb 100644
--- a/example/udf/pom.xml
+++ b/example/udf/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-examples</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <artifactId>udf-example</artifactId>
diff --git a/integration-test/pom.xml b/integration-test/pom.xml
index e05fbd3..1112bfd 100644
--- a/integration-test/pom.xml
+++ b/integration-test/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <artifactId>iotdb-parent</artifactId>
         <groupId>org.apache.iotdb</groupId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <artifactId>integration-test</artifactId>
diff --git a/iotdb-api/external-api/pom.xml b/iotdb-api/external-api/pom.xml
index e5bcf37..9fc1b22 100644
--- a/iotdb-api/external-api/pom.xml
+++ b/iotdb-api/external-api/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <artifactId>iotdb-parent</artifactId>
         <groupId>org.apache.iotdb</groupId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
diff --git a/iotdb-api/pipe-api/pom.xml b/iotdb-api/pipe-api/pom.xml
index 815e6e6..01f4649 100644
--- a/iotdb-api/pipe-api/pom.xml
+++ b/iotdb-api/pipe-api/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <artifactId>iotdb-parent</artifactId>
         <groupId>org.apache.iotdb</groupId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
diff --git a/iotdb-api/trigger-api/pom.xml b/iotdb-api/trigger-api/pom.xml
index ad08d4f..054c34c 100644
--- a/iotdb-api/trigger-api/pom.xml
+++ b/iotdb-api/trigger-api/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <artifactId>iotdb-parent</artifactId>
         <groupId>org.apache.iotdb</groupId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
diff --git a/iotdb-api/udf-api/pom.xml b/iotdb-api/udf-api/pom.xml
index 2f28afc..2c854d0 100644
--- a/iotdb-api/udf-api/pom.xml
+++ b/iotdb-api/udf-api/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <artifactId>iotdb-parent</artifactId>
         <groupId>org.apache.iotdb</groupId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
diff --git a/iotdb-client/cli/pom.xml b/iotdb-client/cli/pom.xml
index b50bc47..de2d22e 100644
--- a/iotdb-client/cli/pom.xml
+++ b/iotdb-client/cli/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>iotdb-cli</artifactId>
diff --git a/iotdb-client/client-cpp/pom.xml b/iotdb-client/client-cpp/pom.xml
index fe82adc..20b2185 100644
--- a/iotdb-client/client-cpp/pom.xml
+++ b/iotdb-client/client-cpp/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <artifactId>iotdb-parent</artifactId>
         <groupId>org.apache.iotdb</groupId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>client-cpp</artifactId>
diff --git a/iotdb-client/client-py/pom.xml b/iotdb-client/client-py/pom.xml
index 0bbc6ff..6a4dd9d 100644
--- a/iotdb-client/client-py/pom.xml
+++ b/iotdb-client/client-py/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>iotdb-python-api</artifactId>
diff --git a/iotdb-client/compile-tools/pom.xml b/iotdb-client/compile-tools/pom.xml
index 6116cb8..3b37c54 100644
--- a/iotdb-client/compile-tools/pom.xml
+++ b/iotdb-client/compile-tools/pom.xml
@@ -22,7 +22,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>client-cpp-tools</artifactId>
diff --git a/iotdb-client/compile-tools/thrift/pom.xml b/iotdb-client/compile-tools/thrift/pom.xml
index 316a3e7..b190fac 100644
--- a/iotdb-client/compile-tools/thrift/pom.xml
+++ b/iotdb-client/compile-tools/thrift/pom.xml
@@ -22,7 +22,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>client-cpp-tools</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <artifactId>client-cpp-tools-thrift</artifactId>
diff --git a/iotdb-client/isession/pom.xml b/iotdb-client/isession/pom.xml
index 36c1518..21c8d92 100644
--- a/iotdb-client/isession/pom.xml
+++ b/iotdb-client/isession/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <artifactId>iotdb-parent</artifactId>
         <groupId>org.apache.iotdb</groupId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
diff --git a/iotdb-client/jdbc/pom.xml b/iotdb-client/jdbc/pom.xml
index 72af735..7d7f944 100644
--- a/iotdb-client/jdbc/pom.xml
+++ b/iotdb-client/jdbc/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>iotdb-jdbc</artifactId>
diff --git a/iotdb-client/service-rpc/pom.xml b/iotdb-client/service-rpc/pom.xml
index 6024667..55b927f 100644
--- a/iotdb-client/service-rpc/pom.xml
+++ b/iotdb-client/service-rpc/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>service-rpc</artifactId>
diff --git a/iotdb-client/session/pom.xml b/iotdb-client/session/pom.xml
index 9d1f873..7111ed4 100644
--- a/iotdb-client/session/pom.xml
+++ b/iotdb-client/session/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <artifactId>iotdb-parent</artifactId>
         <groupId>org.apache.iotdb</groupId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
diff --git a/iotdb-connector/flink-iotdb-connector/pom.xml b/iotdb-connector/flink-iotdb-connector/pom.xml
index b24ac88..eb8bb27 100644
--- a/iotdb-connector/flink-iotdb-connector/pom.xml
+++ b/iotdb-connector/flink-iotdb-connector/pom.xml
@@ -20,7 +20,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>flink-iotdb-connector</artifactId>
diff --git a/iotdb-connector/flink-sql-iotdb-connector/pom.xml b/iotdb-connector/flink-sql-iotdb-connector/pom.xml
index 5bee6d1..9e7d483 100644
--- a/iotdb-connector/flink-sql-iotdb-connector/pom.xml
+++ b/iotdb-connector/flink-sql-iotdb-connector/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>flink-sql-iotdb-connector</artifactId>
diff --git a/iotdb-connector/flink-tsfile-connector/pom.xml b/iotdb-connector/flink-tsfile-connector/pom.xml
index 42a3283..af0ef3d 100644
--- a/iotdb-connector/flink-tsfile-connector/pom.xml
+++ b/iotdb-connector/flink-tsfile-connector/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>flink-tsfile-connector</artifactId>
diff --git a/iotdb-connector/grafana-connector/pom.xml b/iotdb-connector/grafana-connector/pom.xml
index 181f58a..5b6d24e 100644
--- a/iotdb-connector/grafana-connector/pom.xml
+++ b/iotdb-connector/grafana-connector/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <!--parent>
diff --git a/iotdb-connector/grafana-plugin/pom.xml b/iotdb-connector/grafana-plugin/pom.xml
index 9994236..b433256 100644
--- a/iotdb-connector/grafana-plugin/pom.xml
+++ b/iotdb-connector/grafana-plugin/pom.xml
@@ -20,7 +20,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>iotdb-grafana-plugin</artifactId>
diff --git a/iotdb-connector/hadoop/pom.xml b/iotdb-connector/hadoop/pom.xml
index 55b1a89..12686c3 100644
--- a/iotdb-connector/hadoop/pom.xml
+++ b/iotdb-connector/hadoop/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>hadoop-tsfile</artifactId>
diff --git a/iotdb-connector/hive-connector/pom.xml b/iotdb-connector/hive-connector/pom.xml
index e73da63..590a802 100644
--- a/iotdb-connector/hive-connector/pom.xml
+++ b/iotdb-connector/hive-connector/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>hive-connector</artifactId>
diff --git a/iotdb-connector/spark-iotdb-connector/scala_2.11/pom.xml b/iotdb-connector/spark-iotdb-connector/scala_2.11/pom.xml
index 78d875b..0f09701 100644
--- a/iotdb-connector/spark-iotdb-connector/scala_2.11/pom.xml
+++ b/iotdb-connector/spark-iotdb-connector/scala_2.11/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../../pom.xml</relativePath>
     </parent>
     <artifactId>spark-iotdb-connector_2.11</artifactId>
diff --git a/iotdb-connector/spark-iotdb-connector/scala_2.12/pom.xml b/iotdb-connector/spark-iotdb-connector/scala_2.12/pom.xml
index 3489dbe..31e52fe 100644
--- a/iotdb-connector/spark-iotdb-connector/scala_2.12/pom.xml
+++ b/iotdb-connector/spark-iotdb-connector/scala_2.12/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../../pom.xml</relativePath>
     </parent>
     <artifactId>spark-iotdb-connector_2.12</artifactId>
diff --git a/iotdb-connector/spark-tsfile/pom.xml b/iotdb-connector/spark-tsfile/pom.xml
index 1256028..1699d4c 100644
--- a/iotdb-connector/spark-tsfile/pom.xml
+++ b/iotdb-connector/spark-tsfile/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>spark-tsfile</artifactId>
diff --git a/iotdb-connector/zeppelin-interpreter/pom.xml b/iotdb-connector/zeppelin-interpreter/pom.xml
index 0a3c7cf..2b766b1 100644
--- a/iotdb-connector/zeppelin-interpreter/pom.xml
+++ b/iotdb-connector/zeppelin-interpreter/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>zeppelin-iotdb</artifactId>
diff --git a/iotdb-core/antlr/pom.xml b/iotdb-core/antlr/pom.xml
index 192112e..8ca17c5 100644
--- a/iotdb-core/antlr/pom.xml
+++ b/iotdb-core/antlr/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>iotdb-antlr</artifactId>
diff --git a/iotdb-core/confignode/pom.xml b/iotdb-core/confignode/pom.xml
index 2fe6ee5..e1ee1e1 100644
--- a/iotdb-core/confignode/pom.xml
+++ b/iotdb-core/confignode/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>iotdb-confignode</artifactId>
diff --git a/iotdb-core/consensus/pom.xml b/iotdb-core/consensus/pom.xml
index 2a1c78a..bb659aa 100644
--- a/iotdb-core/consensus/pom.xml
+++ b/iotdb-core/consensus/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <artifactId>iotdb-parent</artifactId>
         <groupId>org.apache.iotdb</groupId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
diff --git a/iotdb-core/datanode/pom.xml b/iotdb-core/datanode/pom.xml
index ee23748..00ff242 100644
--- a/iotdb-core/datanode/pom.xml
+++ b/iotdb-core/datanode/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>iotdb-server</artifactId>
diff --git a/iotdb-core/metrics/dropwizard-metrics/pom.xml b/iotdb-core/metrics/dropwizard-metrics/pom.xml
index d5722dc..503910b 100644
--- a/iotdb-core/metrics/dropwizard-metrics/pom.xml
+++ b/iotdb-core/metrics/dropwizard-metrics/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <artifactId>iotdb-metrics</artifactId>
         <groupId>org.apache.iotdb</groupId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <artifactId>dropwizard-metrics</artifactId>
diff --git a/iotdb-core/metrics/interface/pom.xml b/iotdb-core/metrics/interface/pom.xml
index 6996a4d..eb6def1 100644
--- a/iotdb-core/metrics/interface/pom.xml
+++ b/iotdb-core/metrics/interface/pom.xml
@@ -28,7 +28,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-metrics</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <artifactId>metrics-interface</artifactId>
diff --git a/iotdb-core/metrics/micrometer-metrics/pom.xml b/iotdb-core/metrics/micrometer-metrics/pom.xml
index e483c21..af951ec 100644
--- a/iotdb-core/metrics/micrometer-metrics/pom.xml
+++ b/iotdb-core/metrics/micrometer-metrics/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <artifactId>iotdb-metrics</artifactId>
         <groupId>org.apache.iotdb</groupId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <artifactId>micrometer-metrics</artifactId>
@@ -31,7 +31,7 @@
         <dependency>
             <groupId>org.apache.iotdb</groupId>
             <artifactId>metrics-interface</artifactId>
-            <version>1.2.0-SNAPSHOT</version>
+            <version>1.2.2</version>
         </dependency>
         <dependency>
             <groupId>io.micrometer</groupId>
diff --git a/iotdb-core/metrics/pom.xml b/iotdb-core/metrics/pom.xml
index 181a09c..6c2b4c1 100644
--- a/iotdb-core/metrics/pom.xml
+++ b/iotdb-core/metrics/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>iotdb-metrics</artifactId>
diff --git a/iotdb-core/mlnode/pom.xml b/iotdb-core/mlnode/pom.xml
index e01c128..d58881f 100644
--- a/iotdb-core/mlnode/pom.xml
+++ b/iotdb-core/mlnode/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>iotdb-mlnode</artifactId>
diff --git a/iotdb-core/node-commons/pom.xml b/iotdb-core/node-commons/pom.xml
index 2a75188..0fba6aa 100644
--- a/iotdb-core/node-commons/pom.xml
+++ b/iotdb-core/node-commons/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>node-commons</artifactId>
diff --git a/iotdb-core/tsfile/pom.xml b/iotdb-core/tsfile/pom.xml
index 637a9b6..67faf9c 100644
--- a/iotdb-core/tsfile/pom.xml
+++ b/iotdb-core/tsfile/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>tsfile</artifactId>
diff --git a/iotdb-protocol/openapi/pom.xml b/iotdb-protocol/openapi/pom.xml
index 51432c7..2045bfd 100644
--- a/iotdb-protocol/openapi/pom.xml
+++ b/iotdb-protocol/openapi/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <artifactId>iotdb-parent</artifactId>
         <groupId>org.apache.iotdb</groupId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
diff --git a/iotdb-protocol/thrift-commons/pom.xml b/iotdb-protocol/thrift-commons/pom.xml
index 043f8fe..ffafc43 100644
--- a/iotdb-protocol/thrift-commons/pom.xml
+++ b/iotdb-protocol/thrift-commons/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>iotdb-thrift-commons</artifactId>
diff --git a/iotdb-protocol/thrift-confignode/pom.xml b/iotdb-protocol/thrift-confignode/pom.xml
index 1223581..beb0f9b 100644
--- a/iotdb-protocol/thrift-confignode/pom.xml
+++ b/iotdb-protocol/thrift-confignode/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>iotdb-thrift-confignode</artifactId>
diff --git a/iotdb-protocol/thrift-consensus/pom.xml b/iotdb-protocol/thrift-consensus/pom.xml
index 80d664b..e3f8ac0 100644
--- a/iotdb-protocol/thrift-consensus/pom.xml
+++ b/iotdb-protocol/thrift-consensus/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>iotdb-thrift-consensus</artifactId>
diff --git a/iotdb-protocol/thrift-mlnode/pom.xml b/iotdb-protocol/thrift-mlnode/pom.xml
index 34965cc..0a8ff1d 100644
--- a/iotdb-protocol/thrift-mlnode/pom.xml
+++ b/iotdb-protocol/thrift-mlnode/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>iotdb-thrift-mlnode</artifactId>
diff --git a/iotdb-protocol/thrift/pom.xml b/iotdb-protocol/thrift/pom.xml
index 4d06416..bcc7ad5 100644
--- a/iotdb-protocol/thrift/pom.xml
+++ b/iotdb-protocol/thrift/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>iotdb-thrift</artifactId>
diff --git a/library-udf/pom.xml b/library-udf/pom.xml
index 2373587..6ccb1b7 100644
--- a/library-udf/pom.xml
+++ b/library-udf/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <artifactId>iotdb-parent</artifactId>
         <groupId>org.apache.iotdb</groupId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <artifactId>library-udf</artifactId>
diff --git a/pom.xml b/pom.xml
index e8e3ef6..601c401 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,7 @@
     </parent>
     <groupId>org.apache.iotdb</groupId>
     <artifactId>iotdb-parent</artifactId>
-    <version>1.2.0-SNAPSHOT</version>
+    <version>1.2.2</version>
     <packaging>pom</packaging>
     <name>Apache IoTDB Project Parent POM</name>
     <description>This is the top level project that builds, packages the tsfile, iotdb engine, jdbc, and integration libs.</description>
@@ -42,7 +42,7 @@
         <connection>scm:git:ssh://git@github.com/apache/iotdb.git</connection>
         <developerConnection>scm:git:ssh://git@github.com/apache/iotdb.git</developerConnection>
         <url>ssh://git@github.com:apache/iotdb.git</url>
-        <tag>rel/0.10</tag>
+        <tag>v1.2.2</tag>
     </scm>
     <!-- Only configure the site distribution as the rest is handled by the apache parent -->
     <distributionManagement>
diff --git a/site/pom.xml b/site/pom.xml
index 33111f7..555479c 100644
--- a/site/pom.xml
+++ b/site/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <artifactId>iotdb-parent</artifactId>
         <groupId>org.apache.iotdb</groupId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>