mirror of
https://gitee.com/dcren/initializr.git
synced 2025-04-24 18:04:58 +08:00
Fix version range for the reactive starter
This commit is contained in:
parent
c8ae85ae6a
commit
308480951a
@ -47,7 +47,6 @@ initializr:
|
||||
groupId: org.springframework.boot.experimental
|
||||
artifactId: spring-boot-dependencies-web-reactive
|
||||
repositories: spring-snapshots,spring-milestones
|
||||
versionRange: 2.0.0.BUILD-SNAPSHOT
|
||||
version: 0.1.0.BUILD-SNAPSHOT
|
||||
scs-bom:
|
||||
groupId: io.pivotal.spring.cloud
|
||||
@ -701,7 +700,7 @@ initializr:
|
||||
groupId: org.springframework.boot.experimental
|
||||
artifactId: spring-boot-starter-web-reactive
|
||||
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)
|
||||
types:
|
||||
- name: Maven Project
|
||||
|
@ -78,7 +78,7 @@ class ReactiveProjectRequestPostProcessorTests {
|
||||
@Test
|
||||
void bomIsAddedWithSnapshotMaven() {
|
||||
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',
|
||||
'spring-boot-dependencies-web-reactive', '0.1.0.BUILD-SNAPSHOT')
|
||||
}
|
||||
@ -95,7 +95,7 @@ class ReactiveProjectRequestPostProcessorTests {
|
||||
@Test
|
||||
void bomIsAddedWithSnapshotGradle() {
|
||||
ProjectRequest request = createProjectRequest('experimental-web-reactive')
|
||||
request.bootVersion = '1.4.1.BUILD-SNAPSHOT'
|
||||
request.bootVersion = '2.0.0.BUILD-SNAPSHOT'
|
||||
generateGradleBuild(request).contains("dependencyManagement {")
|
||||
.contains("imports {")
|
||||
.contains("mavenBom \"org.springframework.boot.experimental:spring-boot-dependencies-web-reactive:0.1.0.BUILD-SNAPSHOT\"")
|
||||
@ -104,7 +104,7 @@ class ReactiveProjectRequestPostProcessorTests {
|
||||
@Test
|
||||
void snapshotRepoIsAddedIfNecessary() {
|
||||
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',
|
||||
'https://repo.spring.io/snapshot', true)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user