Skip to content

Commit 4370757

Browse files
committed
Use Java 17 in Maven integration tests
Closes gh-34472
1 parent 5c43e42 commit 4370757

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/intTest/java/org/springframework/boot/maven

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/intTest/java/org/springframework/boot/maven/MavenBuild.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ private File createTempDirectory() {
8888

8989
private Map<String, String> getPomReplacements() {
9090
Map<String, String> replacements = new HashMap<>();
91-
replacements.put("java.version", "1.8");
91+
replacements.put("java.version", "17");
9292
replacements.put("project.groupId", "org.springframework.boot");
9393
replacements.put("project.artifactId", "spring-boot-maven-plugin");
9494
replacements.putAll(new Versions().asMap());

0 commit comments

Comments
 (0)