You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2018/12/10 12:19:29 UTC

[servicecomb-java-chassis] branch master updated: [SCB-1072]change dependency management version to project.version

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

liubao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git


The following commit(s) were added to refs/heads/master by this push:
     new bd6a2c4  [SCB-1072]change dependency management version to project.version
bd6a2c4 is described below

commit bd6a2c49b7dae7b9ef4929883d6db0cd16a540b3
Author: liubao <ba...@huawei.com>
AuthorDate: Fri Dec 7 14:13:40 2018 +0800

    [SCB-1072]change dependency management version to project.version
---
 demo/demo-edge/business-1.0.0/pom.xml              |   2 +-
 demo/demo-jaxrs/jaxrs-server/pom.xml               |   2 +-
 demo/demo-multiple/multiple-client/pom.xml         |   2 +-
 demo/demo-multiple/multiple-server/pom.xml         |   2 +-
 demo/demo-multiple/pom.xml                         |   8 +-
 demo/demo-pojo/pojo-client/pom.xml                 |   2 +-
 demo/demo-pojo/pojo-server/pom.xml                 |   2 +-
 .../demo-spring-boot-discovery-client/pom.xml      |   2 +-
 .../demo-spring-boot-pojo-server/pom.xml           |   2 +-
 demo/demo-springmvc/springmvc-client/pom.xml       |   2 +-
 demo/pom.xml                                       |  28 +-
 .../pom.xml                                        |   4 +-
 integration-tests/pom.xml                          |   6 +-
 .../spring-pojo-connection-limit-test/pom.xml      |   2 +-
 integration-tests/spring-pojo-tests/pom.xml        |   2 +-
 .../pom.xml                                        |   2 +-
 java-chassis-dependencies-springboot2/pom.xml      |  10 +-
 java-chassis-dependencies/pom.xml                  | 299 ++++++++++++---------
 samples/apm-agent/pom.xml                          |   2 +-
 .../local-registry-server/pom.xml                  |   2 +-
 samples/pom.xml                                    |   4 +-
 21 files changed, 212 insertions(+), 175 deletions(-)

diff --git a/demo/demo-edge/business-1.0.0/pom.xml b/demo/demo-edge/business-1.0.0/pom.xml
index 21387c0..1d937ec 100644
--- a/demo/demo-edge/business-1.0.0/pom.xml
+++ b/demo/demo-edge/business-1.0.0/pom.xml
@@ -47,7 +47,7 @@
     <dependency>
       <groupId>org.apache.servicecomb.demo</groupId>
       <artifactId>model</artifactId>
-      <version>1.2.0-SNAPSHOT</version>
+      <version>${project.version}</version>
     </dependency>
   </dependencies>
 </project>
diff --git a/demo/demo-jaxrs/jaxrs-server/pom.xml b/demo/demo-jaxrs/jaxrs-server/pom.xml
index 63923a9..b55f930 100644
--- a/demo/demo-jaxrs/jaxrs-server/pom.xml
+++ b/demo/demo-jaxrs/jaxrs-server/pom.xml
@@ -63,7 +63,7 @@
             <mixin>
               <groupId>org.apache.servicecomb.demo</groupId>
               <artifactId>docker-build-config</artifactId>
-              <version>1.2.0-SNAPSHOT</version>
+              <version>${project.version}</version>
             </mixin>
           </mixins>
         </configuration>
diff --git a/demo/demo-multiple/multiple-client/pom.xml b/demo/demo-multiple/multiple-client/pom.xml
index 6ee3320..dc31b15 100644
--- a/demo/demo-multiple/multiple-client/pom.xml
+++ b/demo/demo-multiple/multiple-client/pom.xml
@@ -50,7 +50,7 @@
             <mixin>
               <groupId>org.apache.servicecomb.demo</groupId>
               <artifactId>docker-run-config</artifactId>
-              <version>1.2.0-SNAPSHOT</version>
+              <version>${project.version}</version>
             </mixin>
           </mixins>
         </configuration>
diff --git a/demo/demo-multiple/multiple-server/pom.xml b/demo/demo-multiple/multiple-server/pom.xml
index 2ff1ba8..e4ef0b8 100644
--- a/demo/demo-multiple/multiple-server/pom.xml
+++ b/demo/demo-multiple/multiple-server/pom.xml
@@ -50,7 +50,7 @@
             <mixin>
               <groupId>org.apache.servicecomb.demo</groupId>
               <artifactId>docker-build-config</artifactId>
-              <version>1.2.0-SNAPSHOT</version>
+              <version>${project.version}</version>
             </mixin>
           </mixins>
         </configuration>
diff --git a/demo/demo-multiple/pom.xml b/demo/demo-multiple/pom.xml
index 382e453..4758080 100644
--- a/demo/demo-multiple/pom.xml
+++ b/demo/demo-multiple/pom.xml
@@ -41,22 +41,22 @@
       <dependency>
         <groupId>org.apache.servicecomb.demo</groupId>
         <artifactId>a-server</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb.demo</groupId>
         <artifactId>a-client</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb.demo</groupId>
         <artifactId>b-server</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb.demo</groupId>
         <artifactId>b-client</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
     </dependencies>
   </dependencyManagement>
diff --git a/demo/demo-pojo/pojo-client/pom.xml b/demo/demo-pojo/pojo-client/pom.xml
index 2c295b2..3bdc880 100644
--- a/demo/demo-pojo/pojo-client/pom.xml
+++ b/demo/demo-pojo/pojo-client/pom.xml
@@ -60,7 +60,7 @@
             <mixin>
               <groupId>org.apache.servicecomb.demo</groupId>
               <artifactId>docker-run-config</artifactId>
-              <version>1.2.0-SNAPSHOT</version>
+              <version>${project.version}</version>
             </mixin>
           </mixins>
         </configuration>
diff --git a/demo/demo-pojo/pojo-server/pom.xml b/demo/demo-pojo/pojo-server/pom.xml
index d2a9d7e..210b722 100644
--- a/demo/demo-pojo/pojo-server/pom.xml
+++ b/demo/demo-pojo/pojo-server/pom.xml
@@ -55,7 +55,7 @@
             <mixin>
               <groupId>org.apache.servicecomb.demo</groupId>
               <artifactId>docker-build-config</artifactId>
-              <version>1.2.0-SNAPSHOT</version>
+              <version>${project.version}</version>
             </mixin>
           </mixins>
         </configuration>
diff --git a/demo/demo-spring-boot-discovery/demo-spring-boot-discovery-client/pom.xml b/demo/demo-spring-boot-discovery/demo-spring-boot-discovery-client/pom.xml
index 7cfc5b0..c53a954 100644
--- a/demo/demo-spring-boot-discovery/demo-spring-boot-discovery-client/pom.xml
+++ b/demo/demo-spring-boot-discovery/demo-spring-boot-discovery-client/pom.xml
@@ -51,7 +51,7 @@
             <mixin>
               <groupId>org.apache.servicecomb.demo</groupId>
               <artifactId>docker-run-config</artifactId>
-              <version>1.2.0-SNAPSHOT</version>
+              <version>${project.version}</version>
             </mixin>
           </mixins>
         </configuration>
diff --git a/demo/demo-spring-boot-transport/demo-spring-boot-pojo-server/pom.xml b/demo/demo-spring-boot-transport/demo-spring-boot-pojo-server/pom.xml
index a1f91c4..e6d93cb 100644
--- a/demo/demo-spring-boot-transport/demo-spring-boot-pojo-server/pom.xml
+++ b/demo/demo-spring-boot-transport/demo-spring-boot-pojo-server/pom.xml
@@ -67,7 +67,7 @@
             <mixin>
               <groupId>org.apache.servicecomb.demo</groupId>
               <artifactId>docker-build-config</artifactId>
-              <version>1.2.0-SNAPSHOT</version>
+              <version>${project.version}</version>
             </mixin>
           </mixins>
         </configuration>
diff --git a/demo/demo-springmvc/springmvc-client/pom.xml b/demo/demo-springmvc/springmvc-client/pom.xml
index 0478916..56ee49a 100644
--- a/demo/demo-springmvc/springmvc-client/pom.xml
+++ b/demo/demo-springmvc/springmvc-client/pom.xml
@@ -77,7 +77,7 @@
             <mixin>
               <groupId>org.apache.servicecomb.demo</groupId>
               <artifactId>docker-run-config</artifactId>
-              <version>1.2.0-SNAPSHOT</version>
+              <version>${project.version}</version>
             </mixin>
           </mixins>
         </configuration>
diff --git a/demo/pom.xml b/demo/pom.xml
index 7690b7f..9aac6bc 100644
--- a/demo/pom.xml
+++ b/demo/pom.xml
@@ -55,72 +55,72 @@
       <dependency>
         <groupId>org.apache.servicecomb.demo</groupId>
         <artifactId>demo-signature</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb.demo</groupId>
         <artifactId>demo-schema</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb.demo</groupId>
         <artifactId>all-client</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb.demo</groupId>
         <artifactId>pojo-server</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb.demo</groupId>
         <artifactId>jaxrs-server</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb.demo</groupId>
         <artifactId>springmvc-server</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb.demo</groupId>
         <artifactId>crossapp-server</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb.demo</groupId>
         <artifactId>multiple-server</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb.demo</groupId>
         <artifactId>multiple-client</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb.demo</groupId>
         <artifactId>pojo-client</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb.demo</groupId>
         <artifactId>jaxrs-client</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb.demo</groupId>
         <artifactId>springmvc-client</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb.demo</groupId>
         <artifactId>crossapp-client</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
         <artifactId>foundation-test-scaffolding</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
     </dependencies>
   </dependencyManagement>
diff --git a/integration-tests/it-producer-deploy-springboot2-standalone/pom.xml b/integration-tests/it-producer-deploy-springboot2-standalone/pom.xml
index 764b703..04915c1 100644
--- a/integration-tests/it-producer-deploy-springboot2-standalone/pom.xml
+++ b/integration-tests/it-producer-deploy-springboot2-standalone/pom.xml
@@ -29,7 +29,7 @@
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
         <artifactId>java-chassis-dependencies-springboot2</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
         <type>pom</type>
         <scope>import</scope>
       </dependency>
@@ -40,7 +40,7 @@
     <dependency>
       <groupId>org.apache.servicecomb.tests</groupId>
       <artifactId>it-producer</artifactId>
-      <version>1.2.0-SNAPSHOT</version>
+      <version>${project.version}</version>
     </dependency>
     <dependency>
       <groupId>org.apache.servicecomb</groupId>
diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml
index 40af3a7..6383ccb 100644
--- a/integration-tests/pom.xml
+++ b/integration-tests/pom.xml
@@ -60,18 +60,18 @@
       <dependency>
         <groupId>org.apache.servicecomb.tests</groupId>
         <artifactId>it-common</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
 
       <dependency>
         <groupId>org.apache.servicecomb.demo</groupId>
         <artifactId>demo-schema</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb.tests</groupId>
         <artifactId>test-common</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
         <type>test-jar</type>
       </dependency>
       <dependency>
diff --git a/integration-tests/spring-pojo-connection-limit-test/pom.xml b/integration-tests/spring-pojo-connection-limit-test/pom.xml
index 290a8fa..d827eeb 100644
--- a/integration-tests/spring-pojo-connection-limit-test/pom.xml
+++ b/integration-tests/spring-pojo-connection-limit-test/pom.xml
@@ -33,7 +33,7 @@
     <dependency>
       <groupId>org.apache.servicecomb.tests</groupId>
       <artifactId>pojo-test</artifactId>
-      <version>1.2.0-SNAPSHOT</version>
+      <version>${project.version}</version>
       <type>test-jar</type>
       <exclusions>
         <exclusion>
diff --git a/integration-tests/spring-pojo-tests/pom.xml b/integration-tests/spring-pojo-tests/pom.xml
index 759f586..de13a9f 100644
--- a/integration-tests/spring-pojo-tests/pom.xml
+++ b/integration-tests/spring-pojo-tests/pom.xml
@@ -33,7 +33,7 @@
     <dependency>
       <groupId>org.apache.servicecomb.tests</groupId>
       <artifactId>pojo-test</artifactId>
-      <version>1.2.0-SNAPSHOT</version>
+      <version>${project.version}</version>
       <type>test-jar</type>
       <exclusions>
         <exclusion>
diff --git a/integration-tests/springmvc-tests/springmvc-tests-general-with-springboot/pom.xml b/integration-tests/springmvc-tests/springmvc-tests-general-with-springboot/pom.xml
index 2b416a6..d12ec8c 100644
--- a/integration-tests/springmvc-tests/springmvc-tests-general-with-springboot/pom.xml
+++ b/integration-tests/springmvc-tests/springmvc-tests-general-with-springboot/pom.xml
@@ -33,7 +33,7 @@
     <dependency>
       <groupId>org.apache.servicecomb.tests</groupId>
       <artifactId>springmvc-tests-common</artifactId>
-      <version>1.2.0-SNAPSHOT</version>
+      <version>${project.version}</version>
       <type>test-jar</type>
     </dependency>
     <dependency>
diff --git a/java-chassis-dependencies-springboot2/pom.xml b/java-chassis-dependencies-springboot2/pom.xml
index 3ce3984..7146d67 100644
--- a/java-chassis-dependencies-springboot2/pom.xml
+++ b/java-chassis-dependencies-springboot2/pom.xml
@@ -79,7 +79,7 @@
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
         <artifactId>java-chassis-dependencies</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
         <type>pom</type>
         <scope>import</scope>
       </dependency>
@@ -87,22 +87,22 @@
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
         <artifactId>spring-boot2-starter</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
         <artifactId>spring-boot2-starter-servlet</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
         <artifactId>spring-boot2-starter-standalone</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
         <artifactId>spring-boot2-starter-discovery</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
 
     </dependencies>
diff --git a/java-chassis-dependencies/pom.xml b/java-chassis-dependencies/pom.xml
index e650a1b..699202d 100644
--- a/java-chassis-dependencies/pom.xml
+++ b/java-chassis-dependencies/pom.xml
@@ -755,57 +755,6 @@
       </dependency>
 
       <dependency>
-        <groupId>org.apache.servicecomb</groupId>
-        <artifactId>foundation-common</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.servicecomb</groupId>
-        <artifactId>foundation-protobuf</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.servicecomb</groupId>
-        <artifactId>foundation-test-scaffolding</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
-        <scope>test</scope>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.servicecomb</groupId>
-        <artifactId>foundation-ssl</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.servicecomb</groupId>
-        <artifactId>foundation-config</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.servicecomb</groupId>
-        <artifactId>deployment</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.servicecomb</groupId>
-        <artifactId>config-cc</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.servicecomb</groupId>
-        <artifactId>config-apollo</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.servicecomb</groupId>
-        <artifactId>foundation-vertx</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.servicecomb</groupId>
-        <artifactId>foundation-metrics</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
-      </dependency>
-      <dependency>
         <groupId>com.fasterxml.jackson.dataformat</groupId>
         <artifactId>jackson-dataformat-yaml</artifactId>
         <version>${jackson.version}</version>
@@ -846,214 +795,302 @@
         <version>${swagger.version}</version>
       </dependency>
       <dependency>
+        <groupId>com.google.protobuf</groupId>
+        <artifactId>protobuf-java</artifactId>
+        <version>3.5.1</version>
+      </dependency>
+
+      <!-- This project modules -->
+      <dependency>
+        <groupId>org.apache.servicecomb.archetypes</groupId>
+        <artifactId>business-service-jaxrs-archetype</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.servicecomb.archetypes</groupId>
+        <artifactId>business-service-pojo-archetype</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.servicecomb.archetypes</groupId>
+        <artifactId>business-service-spring-boot-starter-archetype</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.servicecomb.archetypes</groupId>
+        <artifactId>business-service-springmvc-archetype</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>java-chassis-core</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>common-javassist</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>handler-bizkeeper</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>common-protobuf</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>handler-loadbalance</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>common-rest</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>handler-flowcontrol-qps</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>java-chassis-core</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>handler-publickey-auth</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>deployment</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>handler-fault-injection</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>config-apollo</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>common-rest</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>config-cc</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>transport-rest-client</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>edge-core</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>transport-rest-vertx</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>foundation-common</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>transport-rest-servlet</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>foundation-config</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>common-protobuf</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>foundation-metrics</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>common-javassist</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>foundation-protobuf</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>swagger-generator-core</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>foundation-ssl</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>swagger-generator-jaxrs</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>foundation-test-scaffolding</artifactId>
+        <version>${project.version}</version>
+        <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>swagger-generator-springmvc</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>foundation-vertx</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>swagger-invocation-core</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>handler-bizkeeper</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>swagger-invocation-jaxrs</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>handler-fault-injection</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>swagger-invocation-springmvc</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>handler-flowcontrol-qps</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>swagger-invocation-validator</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>handler-loadbalance</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>service-registry</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>handler-publickey-auth</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>provider-pojo</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>handler-tracing-zipkin</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>provider-rest-common</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>spring-boot2-starter</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>provider-jaxrs</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>spring-boot2-starter-discovery</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>provider-springmvc</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>spring-boot2-starter-servlet</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>transport-highway</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>spring-boot2-starter-standalone</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.servicecomb</groupId>
+        <artifactId>spring-boot-common</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
         <artifactId>spring-boot-starter-configuration</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>spring-boot-starter-servicecomb</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>spring-boot-starter-discovery</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
         <artifactId>spring-boot-starter-provider</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>spring-boot-starter-discovery</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>spring-boot-starter-registry</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>spring-boot-starter-registry</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>spring-boot-starter-servicecomb</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
         <artifactId>spring-boot-starter-transport</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
         <artifactId>spring-cloud-zuul</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
         <artifactId>spring-cloud-zuul-zipkin</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>handler-tracing-zipkin</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>metrics-core</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>tracing-common</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>metrics-prometheus</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>tracing-zipkin</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>provider-jaxrs</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>edge-core</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>provider-pojo</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>metrics-core</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>provider-rest-common</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>metrics-common</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>provider-springmvc</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>metrics-prometheus</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>service-registry</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
-        <artifactId>spring-boot-common</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <artifactId>swagger-generator-core</artifactId>
+        <version>${project.version}</version>
       </dependency>
       <dependency>
-        <groupId>com.google.protobuf</groupId>
-        <artifactId>protobuf-java</artifactId>
-        <version>3.5.1</version>
+        <groupId>org.apache.servicecomb</groupId>
+        <artifactId>swagger-generator-jaxrs</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.servicecomb</groupId>
+        <artifactId>swagger-generator-springmvc</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.servicecomb</groupId>
+        <artifactId>swagger-invocation-core</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.servicecomb</groupId>
+        <artifactId>swagger-invocation-jaxrs</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.servicecomb</groupId>
+        <artifactId>swagger-invocation-springmvc</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.servicecomb</groupId>
+        <artifactId>swagger-invocation-validator</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.servicecomb</groupId>
+        <artifactId>tracing-common</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.servicecomb</groupId>
+        <artifactId>tracing-zipkin</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.servicecomb</groupId>
+        <artifactId>transport-highway</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.servicecomb</groupId>
+        <artifactId>transport-rest-client</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.servicecomb</groupId>
+        <artifactId>transport-rest-servlet</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.servicecomb</groupId>
+        <artifactId>transport-rest-vertx</artifactId>
+        <version>${project.version}</version>
       </dependency>
     </dependencies>
   </dependencyManagement>
diff --git a/samples/apm-agent/pom.xml b/samples/apm-agent/pom.xml
index 70e3b8b..698981d 100644
--- a/samples/apm-agent/pom.xml
+++ b/samples/apm-agent/pom.xml
@@ -45,7 +45,7 @@
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
         <artifactId>java-chassis-dependencies</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
         <type>pom</type>
         <scope>import</scope>
       </dependency>
diff --git a/samples/local-service-registry/local-registry-server/pom.xml b/samples/local-service-registry/local-registry-server/pom.xml
index 6ff868d..74894ec 100644
--- a/samples/local-service-registry/local-registry-server/pom.xml
+++ b/samples/local-service-registry/local-registry-server/pom.xml
@@ -68,7 +68,7 @@
             <mixin>
               <groupId>org.apache.servicecomb.demo</groupId>
               <artifactId>docker-build-config</artifactId>
-              <version>1.2.0-SNAPSHOT</version>
+              <version>${project.version}</version>
             </mixin>
           </mixins>
         </configuration>
diff --git a/samples/pom.xml b/samples/pom.xml
index 91cd192..3dd3a8c 100644
--- a/samples/pom.xml
+++ b/samples/pom.xml
@@ -48,14 +48,14 @@
       <dependency>
         <groupId>org.apache.servicecomb</groupId>
         <artifactId>java-chassis-dependencies</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
         <type>pom</type>
         <scope>import</scope>
       </dependency>
       <dependency>
         <groupId>org.apache.servicecomb.samples</groupId>
         <artifactId>common-schema</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>${project.version}</version>
       </dependency>
     </dependencies>
   </dependencyManagement>