mirror of
https://gitee.com/dcren/initializr.git
synced 2026-02-25 21:22:58 +08:00
Upgrade test infrastructure to more recent Spring Boot versions
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
* Copyright 2012-2020 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -101,7 +101,7 @@ class InitializrMetadataBuilderTests {
|
||||
assertThat(myBom).isNotNull();
|
||||
assertThat(myBom.getGroupId()).isEqualTo("org.acme");
|
||||
assertThat(myBom.getArtifactId()).isEqualTo("my-bom");
|
||||
assertThat(myBom.getVersion()).isEqualTo("2.1.1.RELEASE");
|
||||
assertThat(myBom.getVersion()).isEqualTo("2.4.1");
|
||||
|
||||
BillOfMaterials anotherBom = boms.get("another-bom");
|
||||
assertThat(anotherBom).isNotNull();
|
||||
|
||||
@@ -85,12 +85,12 @@ initializr:
|
||||
artifactId: biz
|
||||
scope: runtime
|
||||
version: 1.3.5
|
||||
compatibilityRange: 2.2.0.BUILD-SNAPSHOT
|
||||
compatibilityRange: 2.5.0-SNAPSHOT
|
||||
- name: Bur
|
||||
id: org.acme:bur
|
||||
version: 2.1.0
|
||||
scope: test
|
||||
compatibilityRange: "[2.1.4.RELEASE,2.2.0.BUILD-SNAPSHOT)"
|
||||
compatibilityRange: "[2.1.4.RELEASE,2.5.0-SNAPSHOT)"
|
||||
- name: My API
|
||||
id : my-api
|
||||
groupId: org.acme
|
||||
@@ -152,12 +152,12 @@ initializr:
|
||||
default: false
|
||||
bootVersions:
|
||||
- name : Latest SNAPSHOT
|
||||
id: 2.2.0.BUILD-SNAPSHOT
|
||||
id: 2.5.0-SNAPSHOT
|
||||
default: false
|
||||
- name: 2.1.4
|
||||
id: 2.1.4.RELEASE
|
||||
default: true
|
||||
- name: 1.5.17
|
||||
id: 1.5.17.RELEASE
|
||||
id: 2.2.17.RELEASE
|
||||
default: false
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"my-bom": {
|
||||
"groupId": "org.acme",
|
||||
"artifactId": "my-bom",
|
||||
"version": "2.1.1.RELEASE"
|
||||
"version": "2.4.1"
|
||||
},
|
||||
"another-bom": {
|
||||
"groupId": "org.acme",
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
},
|
||||
{
|
||||
"name": "1.5.17",
|
||||
"id": "1.5.17.RELEASE",
|
||||
"id": "2.2.17.RELEASE",
|
||||
"default": false
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user