From 5172bde4057e5892b2af1ef731fb9fc2424304a6 Mon Sep 17 00:00:00 2001 From: Allon Mureinik Date: Sat, 2 Oct 2021 15:33:12 +0300 Subject: [PATCH] Set surefire's tempdir to target 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. --- pom.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pom.xml b/pom.xml index db056a5..35491d9 100644 --- a/pom.xml +++ b/pom.xml @@ -435,6 +435,16 @@ + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M5 + + + ${user.dir}/target + + +