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.gil...@gmail.com> Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/419f9455 Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/419f9455 Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/419f9455 Branch: refs/heads/develop Commit: 419f9455a21eeb2b0bf6360204ee1175b62df805 Parents: 3529bb3 Author: Joey Echeverria <joe...@gmail.com> Authored: Fri Jun 5 15:32:16 2015 -0700 Committer: Matt Gilman <matt.c.gil...@gmail.com> Committed: Tue Jul 14 14:50:16 2015 -0400 ---------------------------------------------------------------------- .../nifi-flume-bundle/nifi-flume-processors/pom.xml | 9 +++++++++ 1 file changed, 9 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/419f9455/nifi/nifi-nar-bundles/nifi-flume-bundle/nifi-flume-processors/pom.xml ---------------------------------------------------------------------- diff --git a/nifi/nifi-nar-bundles/nifi-flume-bundle/nifi-flume-processors/pom.xml b/nifi/nifi-nar-bundles/nifi-flume-bundle/nifi-flume-processors/pom.xml index b903f21..b0e730c 100644 --- a/nifi/nifi-nar-bundles/nifi-flume-bundle/nifi-flume-processors/pom.xml +++ b/nifi/nifi-nar-bundles/nifi-flume-bundle/nifi-flume-processors/pom.xml @@ -136,6 +136,15 @@ </excludes> </configuration> </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> </build> </project>