NIFI-589: Set java.io.tmpdir to ${build.project.directory}

This lets us use TemporaryDirectory and get the benefits of cleaning
up temporary files using `mvn clean`

Signed-off-by: Matt Gilman <matt.c.gilman@gmail.com>
This commit is contained in:
Joey Echeverria 2015-06-05 15:32:16 -07:00 committed by Matt Gilman
parent 3529bb3317
commit 419f9455a2
1 changed files with 9 additions and 0 deletions

View File

@ -136,6 +136,15 @@
</excludes> </excludes>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins> </plugins>
</build> </build>
</project> </project>