Fix version range for the reactive starter

This commit is contained in:
Stephane Nicoll 2016-10-10 17:15:22 +02:00
parent c8ae85ae6a
commit 308480951a
2 changed files with 4 additions and 5 deletions

View File

@ -47,7 +47,6 @@ initializr:
groupId: org.springframework.boot.experimental groupId: org.springframework.boot.experimental
artifactId: spring-boot-dependencies-web-reactive artifactId: spring-boot-dependencies-web-reactive
repositories: spring-snapshots,spring-milestones repositories: spring-snapshots,spring-milestones
versionRange: 2.0.0.BUILD-SNAPSHOT
version: 0.1.0.BUILD-SNAPSHOT version: 0.1.0.BUILD-SNAPSHOT
scs-bom: scs-bom:
groupId: io.pivotal.spring.cloud groupId: io.pivotal.spring.cloud
@ -701,7 +700,7 @@ initializr:
groupId: org.springframework.boot.experimental groupId: org.springframework.boot.experimental
artifactId: spring-boot-starter-web-reactive artifactId: spring-boot-starter-web-reactive
bom: experimental-reactive-bom bom: experimental-reactive-bom
versionRange: 1.4.0.RC1 versionRange: 2.0.0.BUILD-SNAPSHOT
description: Reactive web development with Apache Tomcat and Spring Reactive (experimental) description: Reactive web development with Apache Tomcat and Spring Reactive (experimental)
types: types:
- name: Maven Project - name: Maven Project

View File

@ -78,7 +78,7 @@ class ReactiveProjectRequestPostProcessorTests {
@Test @Test
void bomIsAddedWithSnapshotMaven() { void bomIsAddedWithSnapshotMaven() {
ProjectRequest request = createProjectRequest('experimental-web-reactive') ProjectRequest request = createProjectRequest('experimental-web-reactive')
request.bootVersion = '1.4.1.BUILD-SNAPSHOT' request.bootVersion = '2.0.0.BUILD-SNAPSHOT'
generateMavenPom(request).hasBom('org.springframework.boot.experimental', generateMavenPom(request).hasBom('org.springframework.boot.experimental',
'spring-boot-dependencies-web-reactive', '0.1.0.BUILD-SNAPSHOT') 'spring-boot-dependencies-web-reactive', '0.1.0.BUILD-SNAPSHOT')
} }
@ -95,7 +95,7 @@ class ReactiveProjectRequestPostProcessorTests {
@Test @Test
void bomIsAddedWithSnapshotGradle() { void bomIsAddedWithSnapshotGradle() {
ProjectRequest request = createProjectRequest('experimental-web-reactive') ProjectRequest request = createProjectRequest('experimental-web-reactive')
request.bootVersion = '1.4.1.BUILD-SNAPSHOT' request.bootVersion = '2.0.0.BUILD-SNAPSHOT'
generateGradleBuild(request).contains("dependencyManagement {") generateGradleBuild(request).contains("dependencyManagement {")
.contains("imports {") .contains("imports {")
.contains("mavenBom \"org.springframework.boot.experimental:spring-boot-dependencies-web-reactive:0.1.0.BUILD-SNAPSHOT\"") .contains("mavenBom \"org.springframework.boot.experimental:spring-boot-dependencies-web-reactive:0.1.0.BUILD-SNAPSHOT\"")
@ -104,7 +104,7 @@ class ReactiveProjectRequestPostProcessorTests {
@Test @Test
void snapshotRepoIsAddedIfNecessary() { void snapshotRepoIsAddedIfNecessary() {
ProjectRequest request = createProjectRequest('experimental-web-reactive') ProjectRequest request = createProjectRequest('experimental-web-reactive')
request.bootVersion = '1.4.1.RELEASE' request.bootVersion = '2.0.0.RELEASE'
generateMavenPom(request).hasRepository('spring-snapshots', 'Spring Snapshots', generateMavenPom(request).hasRepository('spring-snapshots', 'Spring Snapshots',
'https://repo.spring.io/snapshot', true) 'https://repo.spring.io/snapshot', true)
} }