This is an automated email from the ASF dual-hosted git repository.
jeagles pushed a commit to branch branch-0.9
in repository https://gitbox.apache.org/repos/asf/tez.git
The following commit(s) were added to refs/heads/branch-0.9 by this push:
new 6a21e42 TEZ-3995. Fix dot files produced by tests to prevent ASF
license warnings in yetus (addendum)
6a21e42 is described below
commit 6a21e42fdea48a239c33005a94005d00b736c292
Author: Jaume Marhuenda <[email protected]>
AuthorDate: Fri Mar 8 12:02:16 2019 -0600
TEZ-3995. Fix dot files produced by tests to prevent ASF license warnings
in yetus (addendum)
Signed-off-by: Jonathan Eagles <[email protected]>
(cherry picked from commit f4b7137ddda3f7d3a127ca30eddcf7302d842c2a)
---
tez-tests/pom.xml | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/tez-tests/pom.xml b/tez-tests/pom.xml
index 9bacb43..2eacc87 100644
--- a/tez-tests/pom.xml
+++ b/tez-tests/pom.xml
@@ -24,6 +24,10 @@
</parent>
<artifactId>tez-tests</artifactId>
+ <properties>
+ <test.tmp.dir>${project.build.directory}/dagviz</test.tmp.dir>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.apache.tez</groupId>
@@ -130,6 +134,33 @@
<build>
<plugins>
<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.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>