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/incubator-servicecomb-saga.git


The following commit(s) were added to refs/heads/master by this push:
     new 4ccc370  Updated the README files
4ccc370 is described below

commit 4ccc370bdbe4c476eeba35e8861293c28bba18a3
Author: Willem Jiang <[email protected]>
AuthorDate: Wed Oct 31 18:23:07 2018 +0800

    Updated the README files
---
 README.md    | 6 +++++-
 README_ZH.md | 4 ++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 9d8f667..eba7f3a 100644
--- a/README.md
+++ b/README.md
@@ -40,7 +40,11 @@ Now we have different lanaguage implementation of Omega
 * Build the source demo docker images and run the accept tests
    ```bash
       $ mvn clean install -Pdemo,docker
-   ```   
+   ```
+* Build the source code and docker images without running tests
+   ```bash
+      $ mvn clean install -DskipTests=true -Pdemo,docker
+   ```     
 * Current Saga code supports Spring Boot 1.x and Spring Boot 2.x at the same 
time, saga uses Spring Boot 1.x by default, you can use *-Pspring-boot-2* to 
switch Spring Boot version to 2.x.
 Since Spring Boot supports JDK9 since 2.x, if you want to build and run test 
the Saga with JDK9 or JDK10, you need to use the spring-boot-2 profile. 
    ```bash
diff --git a/README_ZH.md b/README_ZH.md
index a1db411..5bb0bba 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -42,6 +42,10 @@ Saga Pack 架构是由 **alpha** 和 **omega**组成,其中:
    ```bash
       $ mvn clean install -Pdemo,docker
    ```
+* 编译示例,并生产docker镜像, 不运行测试
+   ```bash
+      $ mvn clean install -DskipTests=true -Pdemo,docker
+   ```       
 * 当前Saga模块同时支持Spring Boot 1.x 以及 Spring Boot 2.x, 在缺省情况下Saga会使用Spring Boot 
1.x来进行构建。
 你可以使用 *-Pspring-boot-2* 将Spring Boot版本转换到 2.x 上。 由于Spring Boot 只在2.x开始支持 
JDK9,如果你想用
 JDK9或者JDK10 来编译Saga并运行测试的话,你需要使用 spring-boot-2 profile参数。

Reply via email to