You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by je...@apache.org on 2019/03/08 18:02:37 UTC
[tez] branch master updated: TEZ-3995. Fix dot files produced by
tests to prevent ASF license warnings in yetus (addendum)
This is an automated email from the ASF dual-hosted git repository.
jeagles pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tez.git
The following commit(s) were added to refs/heads/master by this push:
new f4b7137 TEZ-3995. Fix dot files produced by tests to prevent ASF license warnings in yetus (addendum)
f4b7137 is described below
commit f4b7137ddda3f7d3a127ca30eddcf7302d842c2a
Author: Jaume Marhuenda <jm...@hortonworks.com>
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 <je...@apache.org>
---
tez-tests/pom.xml | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/tez-tests/pom.xml b/tez-tests/pom.xml
index c0bc884..ad834e1 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>