Repository: tez Updated Branches: refs/heads/branch-0.9 89bda6a9a -> 354e6d918
TEZ-3995. Fix dot files produced by tests to prevent ASF license warnings in yetus (Jaume Marhuenda via jegales) (cherry picked from commit 7d5c66ac0ccf222b0611de3984abb5b8e97cf349) Project: http://git-wip-us.apache.org/repos/asf/tez/repo Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/354e6d91 Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/354e6d91 Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/354e6d91 Branch: refs/heads/branch-0.9 Commit: 354e6d91872e49d4dc1a5aafeddeb968cac98d59 Parents: 89bda6a Author: Jaume Marhuenda <[email protected]> Authored: Tue Oct 9 13:31:58 2018 -0500 Committer: Jonathan Eagles <[email protected]> Committed: Tue Oct 9 13:32:22 2018 -0500 ---------------------------------------------------------------------- tez-dag/pom.xml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tez/blob/354e6d91/tez-dag/pom.xml ---------------------------------------------------------------------- diff --git a/tez-dag/pom.xml b/tez-dag/pom.xml index 9fa9b44..56a8059 100644 --- a/tez-dag/pom.xml +++ b/tez-dag/pom.xml @@ -31,6 +31,7 @@ org.apache.tez.dag.app.rm.container.AMContainerImpl</tez.dag.state.classes> <tez.graphviz.title>Tez</tez.graphviz.title> <tez.graphviz.output.file>Tez.gv</tez.graphviz.output.file> + <test.tmp.dir>${project.build.directory}/dagviz</test.tmp.dir> </properties> <artifactId>tez-dag</artifactId> @@ -187,6 +188,33 @@ <artifactId>apache-rat-plugin</artifactId> </plugin> <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + <execution> + <id>generate-sources</id> + <phase>generate-sources</phase> + <configuration> + <tasks> + <delete dir="${test.tmp.dir}" /> + <mkdir dir="${test.tmp.dir}" /> + </tasks> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <environmentVariables> + <LOG_DIRS>${test.tmp.dir}</LOG_DIRS> + </environmentVariables> + </configuration> + </plugin> + <plugin> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-maven-plugins</artifactId> <executions>
