update docs

pull/405/head
fangjian0423 6 years ago
parent 501d08d1e5
commit b9efe318d8

@ -6,6 +6,7 @@ Spring Cloud Alibaba BOM 包含了它所使用的所有依赖的版本。
如果您是 Maven Central 用户,请将我们的 BOM 添加到您的 pom.xml 中的 <dependencyManagement> 部分。 这将允许您省略任何Maven依赖项的版本而是将版本控制委派给BOM。
```xml
<dependencyManagement>
<dependencies>
<dependency>
@ -17,11 +18,13 @@ Spring Cloud Alibaba BOM 包含了它所使用的所有依赖的版本。
</dependency>
</dependencies>
</dependencyManagement>
```
### Spring Snapshots Maven Repository
如果要使用最新的 BUILD-SNAPSHOT 版本,请在 pom.xml 中添加 Spring Snapshot Repository注意BUILD-SNAPSHOT随时可能更新:
```xml
<repositories>
<repository>
<id>spring-snapshots</id>
@ -32,6 +35,7 @@ Spring Cloud Alibaba BOM 包含了它所使用的所有依赖的版本。
</snapshots>
</repository>
</repositories>
```
举个例子, 0.2.0.BUILD-SNAPSHOT 版本就在这个仓库中可用。

@ -4,6 +4,7 @@
If youre a Maven Central user, add our BOM to your pom.xml <dependencyManagement> section. This will allow you to omit versions for any of the Maven dependencies and instead delegate versioning to the BOM.
```xml
<dependencyManagement>
<dependencies>
<dependency>
@ -15,11 +16,13 @@ If youre a Maven Central user, add our BOM to your pom.xml <dependencyManagem
</dependency>
</dependencies>
</dependencyManagement>
```
### Spring Snapshots Maven Repository
If you want to use the latest BUILD-SNAPSHOT version, add Spring Snapshot Repository in pom.xml , Attention: BUILD-SNAPSHOT may be updated in any time:
```xml
<repositories>
<repository>
<id>spring-snapshots</id>
@ -30,5 +33,6 @@ If you want to use the latest BUILD-SNAPSHOT version, add Spring Snapshot Reposi
</snapshots>
</repository>
</repositories>
```
For example, the 0.2.0.BUILD-SNAPSHOT is available from this repository.
Loading…
Cancel
Save