From cde65629453dc02f7be349b1a2395d7e2a98f998 Mon Sep 17 00:00:00 2001 From: Allon Murienik Date: Sat, 2 Oct 2021 21:53:13 +0300 Subject: [PATCH] Set surefire's tempdir to target (#52) This patch follows up on the review given for #51 and uses maven-surefire-plugin's configuration to set the tempdir to target and restore the behavior change introduced in that PR. Note: This fix will only effect running the test via maven. If the test is manually run (e.g., from an IDE), java.io.tmpdir should be overridden manually too. Move surefire version to managed property by overriding property in parent POM Co-authored-by: Christopher Tubbs --- pom.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pom.xml b/pom.xml index 6e9962e..605ba48 100644 --- a/pom.xml +++ b/pom.xml @@ -96,6 +96,7 @@ UTF-8 3.1.2 source-release-tar + 3.0.0-M5 @@ -417,6 +418,13 @@ + + org.apache.maven.plugins + maven-surefire-plugin + + -Djava.io.tmpdir="${project.build.directory}" + +