You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2020/10/30 04:19:08 UTC

[shardingsphere-elasticjob] branch master updated: introduce flatten maven plugin to revision version (#1672)

This is an automated email from the ASF dual-hosted git repository.

zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob.git


The following commit(s) were added to refs/heads/master by this push:
     new 1d2f896  introduce flatten maven plugin to revision version (#1672)
1d2f896 is described below

commit 1d2f89643fa2f518634c03a05eb45189cf1c4211
Author: Xin Wang <xi...@gmail.com>
AuthorDate: Fri Oct 30 11:58:36 2020 +0800

    introduce flatten maven plugin to revision version (#1672)
    
    * introduce flatten maven plugin to revision version
    
    * upgrade flatten-maven-plugin.version
---
 .gitignore                                         |  1 +
 elasticjob-api/pom.xml                             |  2 +-
 elasticjob-cloud/elasticjob-cloud-common/pom.xml   |  2 +-
 elasticjob-cloud/elasticjob-cloud-executor/pom.xml |  2 +-
 .../elasticjob-cloud-scheduler/pom.xml             |  2 +-
 elasticjob-cloud/pom.xml                           |  2 +-
 .../elasticjob-cloud-executor-distribution/pom.xml |  2 +-
 .../pom.xml                                        |  2 +-
 .../elasticjob-lite-distribution/pom.xml           |  2 +-
 .../elasticjob-src-distribution/pom.xml            |  2 +-
 elasticjob-distribution/pom.xml                    |  2 +-
 .../elasticjob-error-handler-spi/pom.xml           |  2 +-
 .../elasticjob-error-handler-dingtalk/pom.xml      |  2 +-
 .../elasticjob-error-handler-email/pom.xml         |  2 +-
 .../elasticjob-error-handler-general/pom.xml       |  2 +-
 .../elasticjob-error-handler-wechat/pom.xml        |  2 +-
 .../elasticjob-error-handler-type/pom.xml          |  2 +-
 .../elasticjob-error-handler/pom.xml               |  2 +-
 .../elasticjob-executor-kernel/pom.xml             |  2 +-
 .../elasticjob-dataflow-executor/pom.xml           |  2 +-
 .../elasticjob-http-executor/pom.xml               |  2 +-
 .../elasticjob-script-executor/pom.xml             |  2 +-
 .../elasticjob-simple-executor/pom.xml             |  2 +-
 .../elasticjob-executor-type/pom.xml               |  2 +-
 elasticjob-ecosystem/elasticjob-executor/pom.xml   |  2 +-
 .../elasticjob-tracing-api/pom.xml                 |  2 +-
 .../elasticjob-tracing-rdb/pom.xml                 |  2 +-
 elasticjob-ecosystem/elasticjob-tracing/pom.xml    |  2 +-
 elasticjob-ecosystem/pom.xml                       |  2 +-
 elasticjob-infra/elasticjob-infra-common/pom.xml   |  2 +-
 .../elasticjob-registry-center/pom.xml             |  2 +-
 elasticjob-infra/elasticjob-restful/pom.xml        |  2 +-
 elasticjob-infra/pom.xml                           |  2 +-
 elasticjob-lite/elasticjob-lite-core/pom.xml       |  2 +-
 elasticjob-lite/elasticjob-lite-lifecycle/pom.xml  |  2 +-
 .../elasticjob-lite-spring-boot-starter/pom.xml    |  2 +-
 .../elasticjob-lite-spring-namespace/pom.xml       |  2 +-
 elasticjob-lite/elasticjob-lite-spring/pom.xml     |  2 +-
 elasticjob-lite/pom.xml                            |  2 +-
 examples/elasticjob-example-cloud/pom.xml          |  2 +-
 examples/elasticjob-example-embed-zk/pom.xml       |  2 +-
 examples/elasticjob-example-jobs/pom.xml           |  2 +-
 examples/elasticjob-example-lite-java/pom.xml      |  2 +-
 examples/elasticjob-example-lite-spring/pom.xml    |  2 +-
 .../elasticjob-example-lite-springboot/pom.xml     |  2 +-
 examples/pom.xml                                   | 36 +++++++++++++++++++---
 pom.xml                                            | 31 +++++++++++++++++--
 47 files changed, 105 insertions(+), 51 deletions(-)

diff --git a/.gitignore b/.gitignore
index 9fd552d..9b1aada 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,6 +4,7 @@ target/
 *.war
 *.zip
 *.tar
+.flattened-pom.xml
 
 # eclipse ignore
 .settings/
diff --git a/elasticjob-api/pom.xml b/elasticjob-api/pom.xml
index d5485ab..45e2937 100644
--- a/elasticjob-api/pom.xml
+++ b/elasticjob-api/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-api</artifactId>
     <name>${project.artifactId}</name>
diff --git a/elasticjob-cloud/elasticjob-cloud-common/pom.xml b/elasticjob-cloud/elasticjob-cloud-common/pom.xml
index c3289e6..f2e0f62 100755
--- a/elasticjob-cloud/elasticjob-cloud-common/pom.xml
+++ b/elasticjob-cloud/elasticjob-cloud-common/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-cloud</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-cloud-common</artifactId>
     <name>${project.artifactId}</name>
diff --git a/elasticjob-cloud/elasticjob-cloud-executor/pom.xml b/elasticjob-cloud/elasticjob-cloud-executor/pom.xml
index 01efc54..c823ac5 100755
--- a/elasticjob-cloud/elasticjob-cloud-executor/pom.xml
+++ b/elasticjob-cloud/elasticjob-cloud-executor/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-cloud</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-cloud-executor</artifactId>
     <name>${project.artifactId}</name>
diff --git a/elasticjob-cloud/elasticjob-cloud-scheduler/pom.xml b/elasticjob-cloud/elasticjob-cloud-scheduler/pom.xml
index 4270768..b15cc0f 100755
--- a/elasticjob-cloud/elasticjob-cloud-scheduler/pom.xml
+++ b/elasticjob-cloud/elasticjob-cloud-scheduler/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-cloud</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-cloud-scheduler</artifactId>
     <name>${project.artifactId}</name>
diff --git a/elasticjob-cloud/pom.xml b/elasticjob-cloud/pom.xml
index 1949b97..5654932 100644
--- a/elasticjob-cloud/pom.xml
+++ b/elasticjob-cloud/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-cloud</artifactId>
     <packaging>pom</packaging>
diff --git a/elasticjob-distribution/elasticjob-cloud-executor-distribution/pom.xml b/elasticjob-distribution/elasticjob-cloud-executor-distribution/pom.xml
index b30b278..428b51b 100644
--- a/elasticjob-distribution/elasticjob-cloud-executor-distribution/pom.xml
+++ b/elasticjob-distribution/elasticjob-cloud-executor-distribution/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-distribution</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-cloud-executor-distribution</artifactId>
     <packaging>pom</packaging>
diff --git a/elasticjob-distribution/elasticjob-cloud-scheduler-distribution/pom.xml b/elasticjob-distribution/elasticjob-cloud-scheduler-distribution/pom.xml
index 442a030..eb9ffd2 100644
--- a/elasticjob-distribution/elasticjob-cloud-scheduler-distribution/pom.xml
+++ b/elasticjob-distribution/elasticjob-cloud-scheduler-distribution/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-distribution</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-cloud-scheduler-distribution</artifactId>
     <packaging>pom</packaging>
diff --git a/elasticjob-distribution/elasticjob-lite-distribution/pom.xml b/elasticjob-distribution/elasticjob-lite-distribution/pom.xml
index b43da70..b2e4b1c 100644
--- a/elasticjob-distribution/elasticjob-lite-distribution/pom.xml
+++ b/elasticjob-distribution/elasticjob-lite-distribution/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-distribution</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-lite-distribution</artifactId>
     <packaging>pom</packaging>
diff --git a/elasticjob-distribution/elasticjob-src-distribution/pom.xml b/elasticjob-distribution/elasticjob-src-distribution/pom.xml
index 213391e..c04d5d4 100644
--- a/elasticjob-distribution/elasticjob-src-distribution/pom.xml
+++ b/elasticjob-distribution/elasticjob-src-distribution/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-distribution</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-src-distribution</artifactId>
     <packaging>pom</packaging>
diff --git a/elasticjob-distribution/pom.xml b/elasticjob-distribution/pom.xml
index 536b00d..44dcdd5 100644
--- a/elasticjob-distribution/pom.xml
+++ b/elasticjob-distribution/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-distribution</artifactId>
     <packaging>pom</packaging>
diff --git a/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-spi/pom.xml b/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-spi/pom.xml
index 50f86bc..918a259 100644
--- a/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-spi/pom.xml
+++ b/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-spi/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-error-handler</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-error-handler-spi</artifactId>
     
diff --git a/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-dingtalk/pom.xml b/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-dingtalk/pom.xml
index f496d5a..4b8e7e9 100644
--- a/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-dingtalk/pom.xml
+++ b/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-dingtalk/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-error-handler-type</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-error-handler-dingtalk</artifactId>
     
diff --git a/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-email/pom.xml b/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-email/pom.xml
index 3e29ff6..ed77f74 100644
--- a/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-email/pom.xml
+++ b/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-email/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-error-handler-type</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-error-handler-email</artifactId>
     
diff --git a/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-general/pom.xml b/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-general/pom.xml
index be60bba..1119158 100644
--- a/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-general/pom.xml
+++ b/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-general/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-error-handler-type</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-error-handler-general</artifactId>
     
diff --git a/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-wechat/pom.xml b/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-wechat/pom.xml
index aedaed1..e1ad3e6 100644
--- a/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-wechat/pom.xml
+++ b/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/elasticjob-error-handler-wechat/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-error-handler-type</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-error-handler-wechat</artifactId>
     
diff --git a/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/pom.xml b/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/pom.xml
index 42b7c4f..1c2188d 100644
--- a/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/pom.xml
+++ b/elasticjob-ecosystem/elasticjob-error-handler/elasticjob-error-handler-type/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-error-handler</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-error-handler-type</artifactId>
     <packaging>pom</packaging>
diff --git a/elasticjob-ecosystem/elasticjob-error-handler/pom.xml b/elasticjob-ecosystem/elasticjob-error-handler/pom.xml
index f6f2e4e..da4eb37 100644
--- a/elasticjob-ecosystem/elasticjob-error-handler/pom.xml
+++ b/elasticjob-ecosystem/elasticjob-error-handler/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-ecosystem</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-error-handler</artifactId>
     <packaging>pom</packaging>
diff --git a/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-kernel/pom.xml b/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-kernel/pom.xml
index a947c29..68aa54a 100644
--- a/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-kernel/pom.xml
+++ b/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-kernel/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-executor</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-executor-kernel</artifactId>
     <name>${project.artifactId}</name>
diff --git a/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/elasticjob-dataflow-executor/pom.xml b/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/elasticjob-dataflow-executor/pom.xml
index 467929d..122fc74 100644
--- a/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/elasticjob-dataflow-executor/pom.xml
+++ b/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/elasticjob-dataflow-executor/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-executor-type</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-dataflow-executor</artifactId>
     <name>${project.artifactId}</name>
diff --git a/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/elasticjob-http-executor/pom.xml b/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/elasticjob-http-executor/pom.xml
index 8eb6ec6..b52cd8d 100644
--- a/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/elasticjob-http-executor/pom.xml
+++ b/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/elasticjob-http-executor/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-executor-type</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-http-executor</artifactId>
     <name>${project.artifactId}</name>
diff --git a/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/elasticjob-script-executor/pom.xml b/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/elasticjob-script-executor/pom.xml
index 3424a1a..e35b16e 100644
--- a/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/elasticjob-script-executor/pom.xml
+++ b/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/elasticjob-script-executor/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-executor-type</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-script-executor</artifactId>
     <name>${project.artifactId}</name>
diff --git a/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/elasticjob-simple-executor/pom.xml b/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/elasticjob-simple-executor/pom.xml
index 9d79cdb..284b92f 100644
--- a/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/elasticjob-simple-executor/pom.xml
+++ b/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/elasticjob-simple-executor/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-executor-type</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-simple-executor</artifactId>
     <name>${project.artifactId}</name>
diff --git a/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/pom.xml b/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/pom.xml
index 9d366c6..dab456b 100644
--- a/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/pom.xml
+++ b/elasticjob-ecosystem/elasticjob-executor/elasticjob-executor-type/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-executor</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-executor-type</artifactId>
     <packaging>pom</packaging>
diff --git a/elasticjob-ecosystem/elasticjob-executor/pom.xml b/elasticjob-ecosystem/elasticjob-executor/pom.xml
index 8fbd40d..c188798 100644
--- a/elasticjob-ecosystem/elasticjob-executor/pom.xml
+++ b/elasticjob-ecosystem/elasticjob-executor/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-ecosystem</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-executor</artifactId>
     <packaging>pom</packaging>
diff --git a/elasticjob-ecosystem/elasticjob-tracing/elasticjob-tracing-api/pom.xml b/elasticjob-ecosystem/elasticjob-tracing/elasticjob-tracing-api/pom.xml
index 712bc34..7362f18 100644
--- a/elasticjob-ecosystem/elasticjob-tracing/elasticjob-tracing-api/pom.xml
+++ b/elasticjob-ecosystem/elasticjob-tracing/elasticjob-tracing-api/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-tracing</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-tracing-api</artifactId>
     <name>${project.artifactId}</name>
diff --git a/elasticjob-ecosystem/elasticjob-tracing/elasticjob-tracing-rdb/pom.xml b/elasticjob-ecosystem/elasticjob-tracing/elasticjob-tracing-rdb/pom.xml
index 8be0bf9..86e525c 100644
--- a/elasticjob-ecosystem/elasticjob-tracing/elasticjob-tracing-rdb/pom.xml
+++ b/elasticjob-ecosystem/elasticjob-tracing/elasticjob-tracing-rdb/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-tracing</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-tracing-rdb</artifactId>
     <name>${project.artifactId}</name>
diff --git a/elasticjob-ecosystem/elasticjob-tracing/pom.xml b/elasticjob-ecosystem/elasticjob-tracing/pom.xml
index 7d9aec2..4dc4670 100644
--- a/elasticjob-ecosystem/elasticjob-tracing/pom.xml
+++ b/elasticjob-ecosystem/elasticjob-tracing/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-ecosystem</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-tracing</artifactId>
     <packaging>pom</packaging>
diff --git a/elasticjob-ecosystem/pom.xml b/elasticjob-ecosystem/pom.xml
index 2629c3b..40ea247 100644
--- a/elasticjob-ecosystem/pom.xml
+++ b/elasticjob-ecosystem/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-ecosystem</artifactId>
     <packaging>pom</packaging>
diff --git a/elasticjob-infra/elasticjob-infra-common/pom.xml b/elasticjob-infra/elasticjob-infra-common/pom.xml
index bc63b9b..36e20e1 100644
--- a/elasticjob-infra/elasticjob-infra-common/pom.xml
+++ b/elasticjob-infra/elasticjob-infra-common/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-infra</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-infra-common</artifactId>
     <name>${project.artifactId}</name>
diff --git a/elasticjob-infra/elasticjob-registry-center/pom.xml b/elasticjob-infra/elasticjob-registry-center/pom.xml
index 9263e0d..1b49249 100644
--- a/elasticjob-infra/elasticjob-registry-center/pom.xml
+++ b/elasticjob-infra/elasticjob-registry-center/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-infra</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-registry-center</artifactId>
     <name>${project.artifactId}</name>
diff --git a/elasticjob-infra/elasticjob-restful/pom.xml b/elasticjob-infra/elasticjob-restful/pom.xml
index 87266a7..455d2c5 100644
--- a/elasticjob-infra/elasticjob-restful/pom.xml
+++ b/elasticjob-infra/elasticjob-restful/pom.xml
@@ -22,7 +22,7 @@
     <parent>
         <artifactId>elasticjob-infra</artifactId>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/elasticjob-infra/pom.xml b/elasticjob-infra/pom.xml
index f6636c9..cd1bfc2 100644
--- a/elasticjob-infra/pom.xml
+++ b/elasticjob-infra/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-infra</artifactId>
     <packaging>pom</packaging>
diff --git a/elasticjob-lite/elasticjob-lite-core/pom.xml b/elasticjob-lite/elasticjob-lite-core/pom.xml
index fd48d02..f489e38 100644
--- a/elasticjob-lite/elasticjob-lite-core/pom.xml
+++ b/elasticjob-lite/elasticjob-lite-core/pom.xml
@@ -20,7 +20,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-lite</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-lite-core</artifactId>
     <name>${project.artifactId}</name>
diff --git a/elasticjob-lite/elasticjob-lite-lifecycle/pom.xml b/elasticjob-lite/elasticjob-lite-lifecycle/pom.xml
index fa90be4..bf21e30 100644
--- a/elasticjob-lite/elasticjob-lite-lifecycle/pom.xml
+++ b/elasticjob-lite/elasticjob-lite-lifecycle/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-lite</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-lite-lifecycle</artifactId>
     <name>${project.artifactId}</name>
diff --git a/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-boot-starter/pom.xml b/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-boot-starter/pom.xml
index f4428be..b85cd91 100644
--- a/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-boot-starter/pom.xml
+++ b/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-boot-starter/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-lite-spring</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-lite-spring-boot-starter</artifactId>
     <name>${project.artifactId}</name>
diff --git a/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-namespace/pom.xml b/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-namespace/pom.xml
index 90ddd97..e70e44b 100644
--- a/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-namespace/pom.xml
+++ b/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-namespace/pom.xml
@@ -20,7 +20,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-lite-spring</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-lite-spring-namespace</artifactId>
     <name>${project.artifactId}</name>
diff --git a/elasticjob-lite/elasticjob-lite-spring/pom.xml b/elasticjob-lite/elasticjob-lite-spring/pom.xml
index 32d58b9..818f32d 100644
--- a/elasticjob-lite/elasticjob-lite-spring/pom.xml
+++ b/elasticjob-lite/elasticjob-lite-spring/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-lite</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-lite-spring</artifactId>
     <packaging>pom</packaging>
diff --git a/elasticjob-lite/pom.xml b/elasticjob-lite/pom.xml
index 06702ad..bb232df 100644
--- a/elasticjob-lite/pom.xml
+++ b/elasticjob-lite/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob</artifactId>
-        <version>3.0.0-beta-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-lite</artifactId>
     <packaging>pom</packaging>
diff --git a/examples/elasticjob-example-cloud/pom.xml b/examples/elasticjob-example-cloud/pom.xml
index 0570c57..90215b2 100755
--- a/examples/elasticjob-example-cloud/pom.xml
+++ b/examples/elasticjob-example-cloud/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-example</artifactId>
-        <version>3.0.0-beta</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-example-cloud</artifactId>
     <name>${project.artifactId}</name>
diff --git a/examples/elasticjob-example-embed-zk/pom.xml b/examples/elasticjob-example-embed-zk/pom.xml
index 1774178..12891b3 100644
--- a/examples/elasticjob-example-embed-zk/pom.xml
+++ b/examples/elasticjob-example-embed-zk/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-example</artifactId>
-        <version>3.0.0-beta</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-example-embed-zk</artifactId>
     <name>${project.artifactId}</name>
diff --git a/examples/elasticjob-example-jobs/pom.xml b/examples/elasticjob-example-jobs/pom.xml
index 851b72e..2b0a083 100644
--- a/examples/elasticjob-example-jobs/pom.xml
+++ b/examples/elasticjob-example-jobs/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-example</artifactId>
-        <version>3.0.0-beta</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-example-jobs</artifactId>
     <name>${project.artifactId}</name>
diff --git a/examples/elasticjob-example-lite-java/pom.xml b/examples/elasticjob-example-lite-java/pom.xml
index abd2dd4..3d7d696 100644
--- a/examples/elasticjob-example-lite-java/pom.xml
+++ b/examples/elasticjob-example-lite-java/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-example</artifactId>
-        <version>3.0.0-beta</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-example-lite-java</artifactId>
     <name>${project.artifactId}</name>
diff --git a/examples/elasticjob-example-lite-spring/pom.xml b/examples/elasticjob-example-lite-spring/pom.xml
index f98bb29..80bd0b9 100644
--- a/examples/elasticjob-example-lite-spring/pom.xml
+++ b/examples/elasticjob-example-lite-spring/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-example</artifactId>
-        <version>3.0.0-beta</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-example-lite-spring</artifactId>
     <name>${project.artifactId}</name>
diff --git a/examples/elasticjob-example-lite-springboot/pom.xml b/examples/elasticjob-example-lite-springboot/pom.xml
index a1beefe..ea7ee63 100644
--- a/examples/elasticjob-example-lite-springboot/pom.xml
+++ b/examples/elasticjob-example-lite-springboot/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.shardingsphere.elasticjob</groupId>
         <artifactId>elasticjob-example</artifactId>
-        <version>3.0.0-beta</version>
+        <version>${revision}</version>
     </parent>
     <artifactId>elasticjob-example-lite-springboot</artifactId>
     <name>${project.artifactId}</name>
diff --git a/examples/pom.xml b/examples/pom.xml
index 7d8276c..9720055 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -24,7 +24,7 @@
     <artifactId>elasticjob-example</artifactId>
     <name>${project.artifactId}</name>
     <packaging>pom</packaging>
-    <version>3.0.0-beta</version>
+    <version>${revision}</version>
     
     <modules>
         <module>elasticjob-example-jobs</module>
@@ -38,8 +38,8 @@
     </modules>
     
     <properties>
+        <revision>3.0.0-beta-SNAPSHOT</revision>
         <java.version>1.8</java.version>
-        <elasticjob.version>3.0.0-beta</elasticjob.version>
         <curator.version>5.1.0</curator.version>
         <springframework.version>4.3.4.RELEASE</springframework.version>
         <slf4j.version>1.7.7</slf4j.version>
@@ -48,6 +48,7 @@
         <h2.version>1.4.184</h2.version>
         <mysql.version>8.0.16</mysql.version>
         <maven-compiler-plugin.version>3.3</maven-compiler-plugin.version>
+        <flatten-maven-plugin.version>1.2.5</flatten-maven-plugin.version>
     </properties>
     
     <dependencyManagement>
@@ -55,7 +56,7 @@
             <dependency>
                 <artifactId>elasticjob-lite-core</artifactId>
                 <groupId>org.apache.shardingsphere.elasticjob</groupId>
-                <version>${elasticjob.version}</version>
+                <version>${revision}</version>
             </dependency>
             <dependency>
                 <groupId>org.apache.shardingsphere.elasticjob</groupId>
@@ -65,13 +66,13 @@
             <dependency>
                 <artifactId>elasticjob-lite-spring-namespace</artifactId>
                 <groupId>org.apache.shardingsphere.elasticjob</groupId>
-                <version>${elasticjob.version}</version>
+                <version>${revision}</version>
             </dependency>
 
             <dependency>
                 <groupId>org.apache.shardingsphere.elasticjob</groupId>
                 <artifactId>elasticjob-cloud-executor</artifactId>
-                <version>${elasticjob.version}</version>
+                <version>${revision}</version>
             </dependency>
             
             <dependency>
@@ -136,6 +137,31 @@
                     </configuration>
                     <version>${maven-compiler-plugin.version}</version>
                 </plugin>
+                <plugin>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <artifactId>flatten-maven-plugin</artifactId>
+                    <version>${flatten-maven-plugin.version}</version>
+                    <configuration>
+                        <updatePomFile>true</updatePomFile>
+                        <flattenMode>resolveCiFriendliesOnly</flattenMode>
+                    </configuration>
+                    <executions>
+                        <execution>
+                            <id>flatten</id>
+                            <phase>process-resources</phase>
+                            <goals>
+                                <goal>flatten</goal>
+                            </goals>
+                        </execution>
+                        <execution>
+                            <id>flatten.clean</id>
+                            <phase>clean</phase>
+                            <goals>
+                                <goal>clean</goal>
+                            </goals>
+                        </execution>
+                    </executions>
+                </plugin>
             </plugins>
         </pluginManagement>
     </build>
diff --git a/pom.xml b/pom.xml
index 3a3cf32..38707dc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@
     </parent>
     <groupId>org.apache.shardingsphere.elasticjob</groupId>
     <artifactId>elasticjob</artifactId>
-    <version>3.0.0-beta-SNAPSHOT</version>
+    <version>${revision}</version>
     <packaging>pom</packaging>
     <name>${project.artifactId}</name>
     
@@ -41,6 +41,7 @@
     </modules>
     
     <properties>
+        <revision>3.0.0-beta-SNAPSHOT</revision>
         <java.version>1.8</java.version>
         <maven.version.range>[3.0.4,)</maven.version.range>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -96,7 +97,8 @@
         <jdepend-maven-plugin.version>2.0</jdepend-maven-plugin.version>
         <taglist-maven-plugin.version>2.4</taglist-maven-plugin.version>
         <maven-assembly-plugin.version>3.1.0</maven-assembly-plugin.version>
-        
+        <flatten-maven-plugin.version>1.2.5</flatten-maven-plugin.version>
+
         <javadocExecutable>${java.home}/../bin/javadoc</javadocExecutable>
     </properties>
     
@@ -587,6 +589,31 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>flatten-maven-plugin</artifactId>
+                <version>${flatten-maven-plugin.version}</version>
+                <configuration>
+                    <updatePomFile>true</updatePomFile>
+                    <flattenMode>resolveCiFriendliesOnly</flattenMode>
+                </configuration>
+                <executions>
+                    <execution>
+                        <id>flatten</id>
+                        <phase>process-resources</phase>
+                        <goals>
+                            <goal>flatten</goal>
+                        </goals>
+                    </execution>
+                    <execution>
+                        <id>flatten.clean</id>
+                        <phase>clean</phase>
+                        <goals>
+                            <goal>clean</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>