[maven-release-plugin] prepare release kylin-4.0.2
diff --git a/build-engine/pom.xml b/build-engine/pom.xml
index 4f11140..a203181 100644
--- a/build-engine/pom.xml
+++ b/build-engine/pom.xml
@@ -28,7 +28,7 @@
     <parent>
         <groupId>org.apache.kylin</groupId>
         <artifactId>kylin</artifactId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
     </parent>
 
     <dependencies>
diff --git a/cache/pom.xml b/cache/pom.xml
index e79cbcc..9486683 100644
--- a/cache/pom.xml
+++ b/cache/pom.xml
@@ -26,7 +26,7 @@
     <parent>
         <groupId>org.apache.kylin</groupId>
         <artifactId>kylin</artifactId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
     </parent>
 
     <dependencies>
diff --git a/core-common/pom.xml b/core-common/pom.xml
index b5e3503..ec4e092 100644
--- a/core-common/pom.xml
+++ b/core-common/pom.xml
@@ -28,7 +28,7 @@
     <parent>
         <groupId>org.apache.kylin</groupId>
         <artifactId>kylin</artifactId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
     </parent>
 
     <dependencies>
diff --git a/core-cube/pom.xml b/core-cube/pom.xml
index c461229..6e5de90 100644
--- a/core-cube/pom.xml
+++ b/core-cube/pom.xml
@@ -28,7 +28,7 @@
     <parent>
         <groupId>org.apache.kylin</groupId>
         <artifactId>kylin</artifactId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
     </parent>
 
     <dependencies>
diff --git a/core-job/pom.xml b/core-job/pom.xml
index a2b19c8..b6e4410 100644
--- a/core-job/pom.xml
+++ b/core-job/pom.xml
@@ -28,7 +28,7 @@
     <parent>
         <groupId>org.apache.kylin</groupId>
         <artifactId>kylin</artifactId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
     </parent>
 
     <dependencies>
diff --git a/core-metadata/pom.xml b/core-metadata/pom.xml
index 015058b..72866f8 100644
--- a/core-metadata/pom.xml
+++ b/core-metadata/pom.xml
@@ -28,7 +28,7 @@
     <parent>
         <groupId>org.apache.kylin</groupId>
         <artifactId>kylin</artifactId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
     </parent>
     <dependencies>
 
diff --git a/core-metrics/pom.xml b/core-metrics/pom.xml
index 6280969..1e32044 100644
--- a/core-metrics/pom.xml
+++ b/core-metrics/pom.xml
@@ -28,7 +28,7 @@
     <parent>
         <artifactId>kylin</artifactId>
         <groupId>org.apache.kylin</groupId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
     </parent>
     <dependencies>
         <dependency>
diff --git a/core-storage/pom.xml b/core-storage/pom.xml
index 30f6850..7b49a7f 100644
--- a/core-storage/pom.xml
+++ b/core-storage/pom.xml
@@ -28,7 +28,7 @@
     <parent>
         <groupId>org.apache.kylin</groupId>
         <artifactId>kylin</artifactId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
     </parent>
     <dependencies>
 
diff --git a/jdbc/pom.xml b/jdbc/pom.xml
index 4c46149..da67e6d 100644
--- a/jdbc/pom.xml
+++ b/jdbc/pom.xml
@@ -28,7 +28,7 @@
     <parent>
         <groupId>org.apache.kylin</groupId>
         <artifactId>kylin</artifactId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
     </parent>
 
     <properties>
diff --git a/kylin-spark-project/kylin-soft-affinity-cache/pom.xml b/kylin-spark-project/kylin-soft-affinity-cache/pom.xml
index 03df75b..aa83725 100644
--- a/kylin-spark-project/kylin-soft-affinity-cache/pom.xml
+++ b/kylin-spark-project/kylin-soft-affinity-cache/pom.xml
@@ -27,7 +27,7 @@
     <parent>
         <groupId>org.apache.kylin</groupId>
         <artifactId>kylin-spark-project</artifactId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/kylin-spark-project/kylin-spark-classloader/pom.xml b/kylin-spark-project/kylin-spark-classloader/pom.xml
index ad27ec7..8accacf 100644
--- a/kylin-spark-project/kylin-spark-classloader/pom.xml
+++ b/kylin-spark-project/kylin-spark-classloader/pom.xml
@@ -23,12 +23,12 @@
     <name>Apache Kylin 4.X - Classloader</name>
     <packaging>jar</packaging>
     <artifactId>kylin-spark-classloader</artifactId>
-    <version>4.0.2-SNAPSHOT</version>
+    <version>4.0.2</version>
 
     <parent>
         <artifactId>kylin-spark-project</artifactId>
         <groupId>org.apache.kylin</groupId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/kylin-spark-project/kylin-spark-common/pom.xml b/kylin-spark-project/kylin-spark-common/pom.xml
index 0e62aa2..6cd656d 100644
--- a/kylin-spark-project/kylin-spark-common/pom.xml
+++ b/kylin-spark-project/kylin-spark-common/pom.xml
@@ -23,12 +23,12 @@
     <name>Apache Kylin 4.X - Common</name>
     <packaging>jar</packaging>
     <artifactId>kylin-spark-common</artifactId>
-    <version>4.0.2-SNAPSHOT</version>
+    <version>4.0.2</version>
 
     <parent>
         <artifactId>kylin-spark-project</artifactId>
         <groupId>org.apache.kylin</groupId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/kylin-spark-project/kylin-spark-engine/pom.xml b/kylin-spark-project/kylin-spark-engine/pom.xml
index 6a5442d..d987d60 100644
--- a/kylin-spark-project/kylin-spark-engine/pom.xml
+++ b/kylin-spark-project/kylin-spark-engine/pom.xml
@@ -27,7 +27,7 @@
     <parent>
         <groupId>org.apache.kylin</groupId>
         <artifactId>kylin-spark-project</artifactId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/kylin-spark-project/kylin-spark-metadata/pom.xml b/kylin-spark-project/kylin-spark-metadata/pom.xml
index 1e8092f..2aa48e7 100644
--- a/kylin-spark-project/kylin-spark-metadata/pom.xml
+++ b/kylin-spark-project/kylin-spark-metadata/pom.xml
@@ -26,7 +26,7 @@
     <parent>
         <artifactId>kylin-spark-project</artifactId>
         <groupId>org.apache.kylin</groupId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/kylin-spark-project/kylin-spark-query/pom.xml b/kylin-spark-project/kylin-spark-query/pom.xml
index e42029d..dce9c69 100644
--- a/kylin-spark-project/kylin-spark-query/pom.xml
+++ b/kylin-spark-project/kylin-spark-query/pom.xml
@@ -27,7 +27,7 @@
     <parent>
         <groupId>org.apache.kylin</groupId>
         <artifactId>kylin-spark-project</artifactId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/kylin-spark-project/kylin-spark-test/pom.xml b/kylin-spark-project/kylin-spark-test/pom.xml
index 5a12da5..eaf2848 100644
--- a/kylin-spark-project/kylin-spark-test/pom.xml
+++ b/kylin-spark-project/kylin-spark-test/pom.xml
@@ -20,7 +20,7 @@
     <parent>
         <groupId>org.apache.kylin</groupId>
         <artifactId>kylin-spark-project</artifactId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
diff --git a/kylin-spark-project/pom.xml b/kylin-spark-project/pom.xml
index 5d2c241..7ba82af 100644
--- a/kylin-spark-project/pom.xml
+++ b/kylin-spark-project/pom.xml
@@ -26,7 +26,7 @@
     <parent>
         <groupId>org.apache.kylin</groupId>
         <artifactId>kylin</artifactId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/metastore-hbase/pom.xml b/metastore-hbase/pom.xml
index c5632c5..ba55747 100644
--- a/metastore-hbase/pom.xml
+++ b/metastore-hbase/pom.xml
@@ -28,7 +28,7 @@
     <parent>
         <groupId>org.apache.kylin</groupId>
         <artifactId>kylin</artifactId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
     </parent>
 
     <dependencies>
diff --git a/metrics-reporter-hive/pom.xml b/metrics-reporter-hive/pom.xml
index 954be01..accd0c2 100644
--- a/metrics-reporter-hive/pom.xml
+++ b/metrics-reporter-hive/pom.xml
@@ -28,7 +28,7 @@
     <parent>
         <artifactId>kylin</artifactId>
         <groupId>org.apache.kylin</groupId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
     </parent>
 
     <dependencies>
diff --git a/metrics-reporter-kafka/pom.xml b/metrics-reporter-kafka/pom.xml
index c28987d..fb5c2a7 100644
--- a/metrics-reporter-kafka/pom.xml
+++ b/metrics-reporter-kafka/pom.xml
@@ -28,7 +28,7 @@
     <parent>
         <artifactId>kylin</artifactId>
         <groupId>org.apache.kylin</groupId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
     </parent>
 
     <dependencies>
diff --git a/parquet-assembly/pom.xml b/parquet-assembly/pom.xml
index 9cb94b7..9d87c21 100644
--- a/parquet-assembly/pom.xml
+++ b/parquet-assembly/pom.xml
@@ -20,7 +20,7 @@
     <parent>
         <artifactId>kylin</artifactId>
         <groupId>org.apache.kylin</groupId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/pom.xml b/pom.xml
index 77fe958..4153ca9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,7 +30,7 @@
   <groupId>org.apache.kylin</groupId>
   <artifactId>kylin</artifactId>
   <packaging>pom</packaging>
-  <version>4.0.2-SNAPSHOT</version>
+  <version>4.0.2</version>
 
   <name>Apache Kylin</name>
   <url>http://kylin.apache.org</url>
@@ -241,7 +241,7 @@
     <developerConnection>scm:git:ssh://git@github.com/apache/kylin.git
     </developerConnection>
     <url>https://github.com/apache/kylin</url>
-    <tag>HEAD</tag>
+    <tag>kylin-4.0.2</tag>
   </scm>
 
   <dependencyManagement>
diff --git a/query/pom.xml b/query/pom.xml
index c8c133f..7d5f15d 100644
--- a/query/pom.xml
+++ b/query/pom.xml
@@ -28,7 +28,7 @@
     <parent>
         <groupId>org.apache.kylin</groupId>
         <artifactId>kylin</artifactId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
     </parent>
 
     <dependencies>
diff --git a/server-base/pom.xml b/server-base/pom.xml
index c3b6557..5a6a1ce 100644
--- a/server-base/pom.xml
+++ b/server-base/pom.xml
@@ -28,7 +28,7 @@
     <parent>
         <groupId>org.apache.kylin</groupId>
         <artifactId>kylin</artifactId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
     </parent>
 
     <dependencies>
@@ -54,7 +54,7 @@
         <dependency>
             <groupId>org.apache.kylin</groupId>
             <artifactId>kylin-build-engine</artifactId>
-            <version>4.0.2-SNAPSHOT</version>
+            <version>4.0.2</version>
         </dependency>
 
         <!-- these plug-in modules, should not have API dependencies -->
@@ -69,7 +69,7 @@
         <dependency>
             <groupId>org.apache.kylin</groupId>
             <artifactId>kylin-metastore-hbase</artifactId>
-            <version>4.0.2-SNAPSHOT</version>
+            <version>4.0.2</version>
         </dependency>
         <dependency>
             <groupId>org.apache.kylin</groupId>
diff --git a/server/pom.xml b/server/pom.xml
index d50fd77..6ec34d4 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -28,7 +28,7 @@
     <parent>
         <groupId>org.apache.kylin</groupId>
         <artifactId>kylin</artifactId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
     </parent>
 
     <dependencies>
@@ -157,7 +157,7 @@
         <dependency>
             <groupId>org.apache.kylin</groupId>
             <artifactId>kylin-metastore-hbase</artifactId>
-            <version>4.0.2-SNAPSHOT</version>
+            <version>4.0.2</version>
             <type>test-jar</type>
             <scope>test</scope>
         </dependency>
diff --git a/source-hive/pom.xml b/source-hive/pom.xml
index cf6a2bf..d901d9d 100644
--- a/source-hive/pom.xml
+++ b/source-hive/pom.xml
@@ -28,7 +28,7 @@
     <parent>
         <groupId>org.apache.kylin</groupId>
         <artifactId>kylin</artifactId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
     </parent>
 
     <dependencies>
diff --git a/tool-assembly/pom.xml b/tool-assembly/pom.xml
index bf18de0..39a538c 100644
--- a/tool-assembly/pom.xml
+++ b/tool-assembly/pom.xml
@@ -28,7 +28,7 @@
     <parent>
         <artifactId>kylin</artifactId>
         <groupId>org.apache.kylin</groupId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
     </parent>
 
     <properties>
diff --git a/tool/pom.xml b/tool/pom.xml
index a2f32bb..e5cf0a3 100644
--- a/tool/pom.xml
+++ b/tool/pom.xml
@@ -28,7 +28,7 @@
     <parent>
         <artifactId>kylin</artifactId>
         <groupId>org.apache.kylin</groupId>
-        <version>4.0.2-SNAPSHOT</version>
+        <version>4.0.2</version>
     </parent>
 
     <properties>