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 2019/01/02 15:23:27 UTC

[GitHub] WillemJiang closed pull request #371: SCB-1099 Add nexus SNAPSHOT information to the README repo

WillemJiang closed pull request #371: SCB-1099 Add nexus SNAPSHOT information to the README repo
URL: https://github.com/apache/servicecomb-pack/pull/371
 
 
   

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/README.md b/README.md
index b96b1e0a7..890f6238f 100644
--- a/README.md
+++ b/README.md
@@ -54,9 +54,39 @@ Since Spring Boot supports JDK9 since 2.x, if you want to build and run test the
 ## User Guide
 How to build and use can refer to [User Guide](docs/user_guide.md).
 
-## Get The Latest Release
+## Get The Latest Version
 
-[Download Pack](http://servicecomb.apache.org/release/saga-downloads/)
+Get released version:
+   
+* [Download Pack](http://servicecomb.apache.org/release/saga-downloads/)
+
+Get snapshot version:
+
+*  We publish the snapshot version to Apache nexus repo, please add below repositories into your pom.xml.
+   ```
+           <repositories>
+             <repository>
+               <releases />
+               <snapshots>
+                 <enabled>true</enabled>
+               </snapshots>
+               <id>repo.apache.snapshot</id>
+               <url>https://repository.apache.org/content/repositories/snapshots/</url>
+             </repository>
+           </repositories>
+           <pluginRepositories>
+             <pluginRepository>
+               <releases />
+               <snapshots>
+                 <enabled>true</enabled>
+               </snapshots>
+               <id>repo.apache.snapshot</id>
+               <url>https://repository.apache.org/content/repositories/snapshots/</url>
+             </pluginRepository>
+           </pluginRepositories>
+        
+             
+   ```    
 
 ## [FAQ](FAQ.md)
 
diff --git a/README_ZH.md b/README_ZH.md
index a200cfb73..d560fef0c 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -57,7 +57,39 @@ JDK9或者JDK10 来编译Saga并运行测试的话,你需要使用 spring-boot
 ## 用户指南
 如何构建和使用可浏览[用户指南](docs/user_guide_zh.md)。
 
-## 获取最新发行版本
+## 获取最新版本
+
+获取最新发行版本:
+   
+* [下载软件包](http://servicecomb.apache.org/release/saga-downloads/)
+
+获取最新预览版本:
+
+*  最新的预览版本会发布到Apache nexus的仓库中,请将如下的仓库描述信息加到你的pom.xml文件中.
+   ```
+           <repositories>
+             <repository>
+               <releases />
+               <snapshots>
+                 <enabled>true</enabled>
+               </snapshots>
+               <id>repo.apache.snapshot</id>
+               <url>https://repository.apache.org/content/repositories/snapshots/</url>
+             </repository>
+           </repositories>
+           <pluginRepositories>
+             <pluginRepository>
+               <releases />
+               <snapshots>
+                 <enabled>true</enabled>
+               </snapshots>
+               <id>repo.apache.snapshot</id>
+               <url>https://repository.apache.org/content/repositories/snapshots/</url>
+             </pluginRepository>
+           </pluginRepositories>
+        
+             
+   ```    
 
 [下载Pack](http://servicecomb.apache.org/release/saga-downloads/)
 


 

----------------------------------------------------------------
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