You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2019/03/07 06:50:27 UTC

[servicecomb-pack] branch master updated: SCB-1180 Polish the alpha-server pom.xml (#421)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 194f74e  SCB-1180 Polish the alpha-server pom.xml (#421)
194f74e is described below

commit 194f74ebb8eba75b1d6a44fb3b2ea4530c4ac4fa
Author: Willem Jiang <ji...@huawei.com>
AuthorDate: Thu Mar 7 14:50:23 2019 +0800

    SCB-1180 Polish the alpha-server pom.xml (#421)
---
 alpha/alpha-server/pom.xml | 31 ++++++++++++++++++++++---------
 1 file changed, 22 insertions(+), 9 deletions(-)

diff --git a/alpha/alpha-server/pom.xml b/alpha/alpha-server/pom.xml
index a61920e..61e3f89 100644
--- a/alpha/alpha-server/pom.xml
+++ b/alpha/alpha-server/pom.xml
@@ -118,6 +118,14 @@
       <groupId>com.lmax</groupId>
       <artifactId>disruptor</artifactId>
     </dependency>
+    <dependency>
+      <groupId>javax.interceptor</groupId>
+      <artifactId>javax.interceptor-api</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>io.netty</groupId>
+      <artifactId>netty-tcnative-boringssl-static</artifactId>
+    </dependency>
 
     <!-- for the performance monitor -->
     <dependency>
@@ -133,10 +141,10 @@
       <artifactId>akka-actor_2.12</artifactId>
     </dependency>
 
+    <!-- For testing the artifacts scope are test-->
     <dependency>
       <groupId>org.springframework.boot</groupId>
       <artifactId>spring-boot-starter-test</artifactId>
-      <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.hsqldb</groupId>
@@ -163,14 +171,6 @@
       <groupId>org.hamcrest</groupId>
       <artifactId>hamcrest-all</artifactId>
     </dependency>
-    <dependency>
-      <groupId>javax.interceptor</groupId>
-      <artifactId>javax.interceptor-api</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>io.netty</groupId>
-      <artifactId>netty-tcnative-boringssl-static</artifactId>
-    </dependency>
   </dependencies>
 
   <build>
@@ -240,6 +240,19 @@
       </dependencies>
     </profile>
     <profile>
+      <id>spring-cloud-eureka</id>
+      <!-- Specify the alpha spring boot starter with the profile-->
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.servicecomb.pack</groupId>
+          <artifactId>alpha-spring-cloud-starter-eureka</artifactId>
+        </dependency>
+      </dependencies>
+    </profile>
+    <profile>
       <id>mysql</id>
       <dependencies>
         <dependency>