Upgrade test infrastructure to more recent Spring Boot versions

This commit is contained in:
Stephane Nicoll
2020-11-27 15:28:10 +01:00
parent 9514753cc7
commit 54d104e2e2
83 changed files with 248 additions and 228 deletions

View File

@@ -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();

View File

@@ -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

View File

@@ -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",

View File

@@ -52,7 +52,7 @@
},
{
"name": "1.5.17",
"id": "1.5.17.RELEASE",
"id": "2.2.17.RELEASE",
"default": false
}
]