tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeag...@apache.org
Subject tez git commit: TEZ-3995. Fix dot files produced by tests to prevent ASF license warnings in yetus (Jaume Marhuenda via jegales)
Date Tue, 09 Oct 2018 18:43:47 GMT
Repository: tez
Updated Branches:
  refs/heads/master 39d76a656 -> 7d5c66ac0


TEZ-3995. Fix dot files produced by tests to prevent ASF license warnings in yetus (Jaume
Marhuenda via jegales)


Project: http://git-wip-us.apache.org/repos/asf/tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/7d5c66ac
Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/7d5c66ac
Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/7d5c66ac

Branch: refs/heads/master
Commit: 7d5c66ac0ccf222b0611de3984abb5b8e97cf349
Parents: 39d76a6
Author: Jaume Marhuenda <jmarhuenda@hortonworks.com>
Authored: Tue Oct 9 13:31:58 2018 -0500
Committer: Jonathan Eagles <jeagles@yahoo-inc.com>
Committed: Tue Oct 9 13:31:58 2018 -0500

----------------------------------------------------------------------
 tez-dag/pom.xml | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/7d5c66ac/tez-dag/pom.xml
----------------------------------------------------------------------
diff --git a/tez-dag/pom.xml b/tez-dag/pom.xml
index 7476bbc..5f63079 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>


Mime
View raw message