Skip to content

Commit b1494d4

Browse files
committed
Merge branch '2.6.x' into 2.7.x
Closes gh-33084
2 parents 1c3a490 + 6423535 commit b1494d4

File tree

1 file changed

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

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
import org.apache.maven.shared.invoker.Invoker;
4646
import org.apache.maven.shared.invoker.MavenInvocationException;
4747

48+
import org.springframework.util.FileSystemUtils;
49+
4850
import static org.assertj.core.api.Assertions.assertThat;
4951
import static org.assertj.core.api.Assertions.contentOf;
5052

@@ -195,6 +197,9 @@ public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IO
195197
catch (Exception ex) {
196198
throw new RuntimeException(ex);
197199
}
200+
finally {
201+
FileSystemUtils.deleteRecursively(this.temp);
202+
}
198203
}
199204

200205
/**

0 commit comments

Comments
 (0)