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

[GitHub] liubao68 closed pull request #1027: [SCB-1072]change dependency management version to project.version

liubao68 closed pull request #1027: [SCB-1072]change dependency management version to project.version
URL: https://github.com/apache/servicecomb-java-chassis/pull/1027
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/demo/demo-edge/business-1.0.0/pom.xml b/demo/demo-edge/business-1.0.0/pom.xml
index 21387c0df..1d937ec25 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 63923a9e8..b55f93048 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 6ee33207b..dc31b1501 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 2ff1ba8c9..e4ef0b89c 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 382e4531b..4758080c1 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 2c295b2d8..3bdc880c1 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 d2a9d7eed..210b7223e 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 7cfc5b040..c53a954de 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 a1f91c488..e6d93cb8e 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 047891610..56ee49a73 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 7690b7f20..9aac6bcdd 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 764b70312..04915c158 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 40af3a7b4..6383ccb49 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 290a8fa29..d827eeb7f 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 759f586ae..de13a9fff 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 2b416a62b..d12ec8c28 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 3ce398444..7146d670b 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 e650a1b3b..699202dd6 100644
--- a/java-chassis-dependencies/pom.xml
+++ b/java-chassis-dependencies/pom.xml
@@ -754,57 +754,6 @@
         <version>0.1.0</version>
       </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>
@@ -845,215 +794,303 @@
         <artifactId>swagger-core</artifactId>
         <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 70e3b8b0e..698981d1a 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 6ff868da4..74894ece6 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 91cd1927b..3dd3a8cc5 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>


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services