[maven-release-plugin] prepare release kylin-4.0.0-beta
diff --git a/build-engine/pom.xml b/build-engine/pom.xml
index a23ec18..b088244 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.0-SNAPSHOT</version>
+        <version>4.0.0-beta</version>
     </parent>
 
     <dependencies>
diff --git a/cache/pom.xml b/cache/pom.xml
index 8d5c1b6..03c81f8 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.0-SNAPSHOT</version>
+        <version>4.0.0-beta</version>
     </parent>
 
     <dependencies>
diff --git a/core-common/pom.xml b/core-common/pom.xml
index 093d5ce..4c1f7ff 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.0-SNAPSHOT</version>
+        <version>4.0.0-beta</version>
     </parent>
 
     <dependencies>
diff --git a/core-cube/pom.xml b/core-cube/pom.xml
index c024c06..388bb37 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.0-SNAPSHOT</version>
+        <version>4.0.0-beta</version>
     </parent>
 
     <dependencies>
diff --git a/core-dictionary/pom.xml b/core-dictionary/pom.xml
index 48841c1..b9d9036 100644
--- a/core-dictionary/pom.xml
+++ b/core-dictionary/pom.xml
@@ -28,7 +28,7 @@
     <parent>
         <groupId>org.apache.kylin</groupId>
         <artifactId>kylin</artifactId>
-        <version>4.0.0-SNAPSHOT</version>
+        <version>4.0.0-beta</version>
     </parent>
 
     <dependencies>
diff --git a/core-job/pom.xml b/core-job/pom.xml
index 7a71ed3..575eee2 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.0-SNAPSHOT</version>
+        <version>4.0.0-beta</version>
     </parent>
 
     <dependencies>
diff --git a/core-metadata/pom.xml b/core-metadata/pom.xml
index ddb975c..1b78df4 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.0-SNAPSHOT</version>
+        <version>4.0.0-beta</version>
     </parent>
     <dependencies>
 
diff --git a/core-metrics/pom.xml b/core-metrics/pom.xml
index e74ea91..88e69c0 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.0-SNAPSHOT</version>
+        <version>4.0.0-beta</version>
     </parent>
     <dependencies>
         <dependency>
diff --git a/core-storage/pom.xml b/core-storage/pom.xml
index 5ae52d8..23e83cb 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.0-SNAPSHOT</version>
+        <version>4.0.0-beta</version>
     </parent>
     <dependencies>
 
diff --git a/datasource-sdk/pom.xml b/datasource-sdk/pom.xml
index 68fe878..f5ae88f 100644
--- a/datasource-sdk/pom.xml
+++ b/datasource-sdk/pom.xml
@@ -26,7 +26,7 @@
     <parent>
         <groupId>org.apache.kylin</groupId>
         <artifactId>kylin</artifactId>
-        <version>4.0.0-SNAPSHOT</version>
+        <version>4.0.0-beta</version>
     </parent>
 
     <dependencies>
diff --git a/jdbc/pom.xml b/jdbc/pom.xml
index 1478578..7284058 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.0-SNAPSHOT</version>
+        <version>4.0.0-beta</version>
     </parent>
 
     <properties>
diff --git a/kylin-spark-project/kylin-spark-classloader/pom.xml b/kylin-spark-project/kylin-spark-classloader/pom.xml
index a3961d1..d436e95 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.0-SNAPSHOT</version>
+    <version>4.0.0-beta</version>
 
     <parent>
         <artifactId>kylin-spark-project</artifactId>
         <groupId>org.apache.kylin</groupId>
-        <version>4.0.0-SNAPSHOT</version>
+        <version>4.0.0-beta</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 44be54b..19aa6f0 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.0-SNAPSHOT</version>
+    <version>4.0.0-beta</version>
 
     <parent>
         <artifactId>kylin-spark-project</artifactId>
         <groupId>org.apache.kylin</groupId>
-        <version>4.0.0-SNAPSHOT</version>
+        <version>4.0.0-beta</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 9954afe..f3b5cde 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.0-SNAPSHOT</version>
+        <version>4.0.0-beta</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 9cdd824..ace1f0a 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.0-SNAPSHOT</version>
+        <version>4.0.0-beta</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 2e6f7e4..b80a174 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.0-SNAPSHOT</version>
+        <version>4.0.0-beta</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 4221983..e8a1418 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.0-SNAPSHOT</version>
+        <version>4.0.0-beta</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 3b52556..8e3d5da 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.0-SNAPSHOT</version>
+        <version>4.0.0-beta</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/metastore-hbase/pom.xml b/metastore-hbase/pom.xml
index 0945cca..02fd872 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.0-SNAPSHOT</version>
+        <version>4.0.0-beta</version>
     </parent>
 
     <dependencies>
diff --git a/metrics-reporter-hive/pom.xml b/metrics-reporter-hive/pom.xml
index ed9ea2e..d3062d5 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.0-SNAPSHOT</version>
+        <version>4.0.0-beta</version>
     </parent>
 
     <dependencies>
diff --git a/metrics-reporter-kafka/pom.xml b/metrics-reporter-kafka/pom.xml
index 1c39f08..fb1312d 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.0-SNAPSHOT</version>
+        <version>4.0.0-beta</version>
     </parent>
 
     <dependencies>
diff --git a/parquet-assembly/pom.xml b/parquet-assembly/pom.xml
index 6b34823..7fc59db 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.0-SNAPSHOT</version>
+        <version>4.0.0-beta</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/pom.xml b/pom.xml
index 5d38873..0a07178 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.0-SNAPSHOT</version>
+  <version>4.0.0-beta</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.0-beta</tag>
   </scm>
 
   <dependencyManagement>
diff --git a/query/pom.xml b/query/pom.xml
index 1341abc..944a292 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.0-SNAPSHOT</version>
+        <version>4.0.0-beta</version>
     </parent>
 
     <dependencies>
diff --git a/server-base/pom.xml b/server-base/pom.xml
index a5411c8..cb3a24f 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.0-SNAPSHOT</version>
+        <version>4.0.0-beta</version>
     </parent>
 
     <dependencies>
@@ -54,7 +54,7 @@
         <dependency>
             <groupId>org.apache.kylin</groupId>
             <artifactId>kylin-build-engine</artifactId>
-            <version>4.0.0-SNAPSHOT</version>
+            <version>4.0.0-beta</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.0-SNAPSHOT</version>
+            <version>4.0.0-beta</version>
         </dependency>
         <dependency>
             <groupId>org.apache.kylin</groupId>
diff --git a/server/pom.xml b/server/pom.xml
index 82114fb..2cf7be0 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.0-SNAPSHOT</version>
+        <version>4.0.0-beta</version>
     </parent>
 
     <dependencies>
@@ -124,7 +124,7 @@
         <dependency>
             <groupId>org.apache.kylin</groupId>
             <artifactId>kylin-metastore-hbase</artifactId>
-            <version>4.0.0-SNAPSHOT</version>
+            <version>4.0.0-beta</version>
             <type>test-jar</type>
             <scope>test</scope>
         </dependency>
diff --git a/source-hive/pom.xml b/source-hive/pom.xml
index 8430796..0cb4a66 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.0-SNAPSHOT</version>
+        <version>4.0.0-beta</version>
     </parent>
 
     <dependencies>
diff --git a/tool-assembly/pom.xml b/tool-assembly/pom.xml
index 09efbd7..7b35281 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.0-SNAPSHOT</version>
+        <version>4.0.0-beta</version>
     </parent>
 
     <properties>
diff --git a/tool/pom.xml b/tool/pom.xml
index cfadc5c..a86d8ba 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.0-SNAPSHOT</version>
+        <version>4.0.0-beta</version>
     </parent>
 
     <properties>