Merge branch '2.7.x'

Closes gh-33085
pull/33082/head
Andy Wilkinson 2 years ago
commit 112bed886c

@ -44,6 +44,8 @@ import org.apache.maven.shared.invoker.InvocationResult;
import org.apache.maven.shared.invoker.Invoker; import org.apache.maven.shared.invoker.Invoker;
import org.apache.maven.shared.invoker.MavenInvocationException; import org.apache.maven.shared.invoker.MavenInvocationException;
import org.springframework.util.FileSystemUtils;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.contentOf; import static org.assertj.core.api.Assertions.contentOf;
@ -191,6 +193,9 @@ class MavenBuild {
catch (Exception ex) { catch (Exception ex) {
throw new RuntimeException(ex); throw new RuntimeException(ex);
} }
finally {
FileSystemUtils.deleteRecursively(this.temp);
}
} }
/** /**

Loading…
Cancel
Save