取得領先
VMware 提供培訓和認證,以加速您的進展。
了解更多我謹代表 Spring Cloud 團隊宣布 Spring Cloud Brixton 版本系列的首次里程碑發布。 此里程碑版本今天已推出,可以在我們的 Spring Milestone 儲存庫中找到。 我們進行了許多增強功能和錯誤修復,其中一些亮點包括
以下是 Brixton.M1 中的新模組
以下模組已更新
Spring Cloud AWS 和 Spring Cloud Bus 在此里程碑中沒有新版本。
若要開始使用 Maven 並使用父 POM
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-parent</artifactId>
<version>Brixton.M1</version>
</parent>
<repositories>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>http://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
或作為 BOM(僅限依賴管理)
<repositories>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>http://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-parent</artifactId>
<version>Brixton.M1</version>
<type>pom</type>
<scope>import</scope>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-config</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-eureka</artifactId>
</dependency>
...
</dependencies>
或使用 gradle
buildscript {
dependencies {
classpath "io.spring.gradle:dependency-management-plugin:0.5.3.RELEASE"
}
}
repositories {
maven {
url 'http://repo.spring.io/milestone'
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud:Brixton.M1'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-eureka'
...
}
#SpringOne 2GX 2015 來了! 華盛頓特區的 SpringOne2GX 正在進行中。 這是第一手了解所有最新動態並提供直接回饋的最佳機會。
#SpringOne 上的 Spring Cloud 講座