Use Java 17 in Maven integration tests

Closes gh-34472
This commit is contained in:
Phillip Webb
2023-03-03 10:59:00 -08:00
parent 5c43e42839
commit 4370757fb2

View File

@@ -88,7 +88,7 @@ class MavenBuild {
private Map<String, String> getPomReplacements() {
Map<String, String> replacements = new HashMap<>();
replacements.put("java.version", "1.8");
replacements.put("java.version", "17");
replacements.put("project.groupId", "org.springframework.boot");
replacements.put("project.artifactId", "spring-boot-maven-plugin");
replacements.putAll(new Versions().asMap());