== 依赖管理 Spring Cloud Alibaba BOM 包含了它所使用的所有依赖的版本。 ### Spring Cloud Alibaba Bill of Materials (BOM) 如果您是 Maven Central 用户,请将我们的 BOM 添加到您的 pom.xml 中的 部分。 这将允许您省略任何Maven依赖项的版本,而是将版本控制委派给BOM。 ```xml org.springframework.cloud spring-cloud-alibaba-dependencies 2.1.0.RELEASE pom import ``` ### Spring Snapshots Maven Repository 如果要使用最新的 BUILD-SNAPSHOT 版本,请在 pom.xml 中添加 Spring Snapshot Repository,注意:BUILD-SNAPSHOT随时可能更新: ```xml spring-snapshots Spring SnapShots https://repo.spring.io/libs-snapshot true ``` 举个例子, 0.2.0.BUILD-SNAPSHOT 版本就在这个仓库中可用。