You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by ks...@apache.org on 2019/03/14 20:02:43 UTC
[tez] branch branch-0.9 updated: TEZ-4052. Fit dot files ASF
License issues - part 2 (Jonathan Eagles via kshukla)
This is an automated email from the ASF dual-hosted git repository.
kshukla 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 f0395c1 TEZ-4052. Fit dot files ASF License issues - part 2 (Jonathan Eagles via kshukla)
f0395c1 is described below
commit f0395c179c4229f4b884b7da7f6b33d9d6939e4b
Author: Kuhu Shukla <ks...@apache.org>
AuthorDate: Thu Mar 14 15:02:18 2019 -0500
TEZ-4052. Fit dot files ASF License issues - part 2 (Jonathan Eagles via kshukla)
(cherry picked from commit 96a5e3ec1007cd7203b42d1cc4abce41fa58c340)
---
tez-dag/pom.xml | 8 ++++----
tez-ext-service-tests/pom.xml | 31 +++++++++++++++++++++++++++++++
tez-tests/pom.xml | 8 ++++----
3 files changed, 39 insertions(+), 8 deletions(-)
diff --git a/tez-dag/pom.xml b/tez-dag/pom.xml
index 56a8059..281baea 100644
--- a/tez-dag/pom.xml
+++ b/tez-dag/pom.xml
@@ -31,7 +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>
+ <test.log.dir>${project.build.directory}/logs</test.log.dir>
</properties>
<artifactId>tez-dag</artifactId>
@@ -195,8 +195,8 @@
<phase>generate-sources</phase>
<configuration>
<tasks>
- <delete dir="${test.tmp.dir}" />
- <mkdir dir="${test.tmp.dir}" />
+ <delete dir="${test.log.dir}" />
+ <mkdir dir="${test.log.dir}" />
</tasks>
</configuration>
<goals>
@@ -210,7 +210,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<environmentVariables>
- <LOG_DIRS>${test.tmp.dir}</LOG_DIRS>
+ <LOG_DIRS>${test.log.dir}</LOG_DIRS>
</environmentVariables>
</configuration>
</plugin>
diff --git a/tez-ext-service-tests/pom.xml b/tez-ext-service-tests/pom.xml
index 64c97ea..15067d0 100644
--- a/tez-ext-service-tests/pom.xml
+++ b/tez-ext-service-tests/pom.xml
@@ -25,6 +25,10 @@
<artifactId>tez-ext-service-tests</artifactId>
+ <properties>
+ <test.log.dir>${project.build.directory}/logs</test.log.dir>
+ </properties>
+
<dependencies>
<dependency>
<groupId>io.netty</groupId>
@@ -127,6 +131,33 @@
</resources>
<plugins>
<plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>generate-sources</id>
+ <phase>generate-sources</phase>
+ <configuration>
+ <tasks>
+ <delete dir="${test.log.dir}" />
+ <mkdir dir="${test.log.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.log.dir}</LOG_DIRS>
+ </environmentVariables>
+ </configuration>
+ </plugin>
+ <plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
</plugin>
diff --git a/tez-tests/pom.xml b/tez-tests/pom.xml
index 2eacc87..a263524 100644
--- a/tez-tests/pom.xml
+++ b/tez-tests/pom.xml
@@ -25,7 +25,7 @@
<artifactId>tez-tests</artifactId>
<properties>
- <test.tmp.dir>${project.build.directory}/dagviz</test.tmp.dir>
+ <test.log.dir>${project.build.directory}/logs</test.log.dir>
</properties>
<dependencies>
@@ -141,8 +141,8 @@
<phase>generate-sources</phase>
<configuration>
<tasks>
- <delete dir="${test.tmp.dir}" />
- <mkdir dir="${test.tmp.dir}" />
+ <delete dir="${test.log.dir}" />
+ <mkdir dir="${test.log.dir}" />
</tasks>
</configuration>
<goals>
@@ -156,7 +156,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<environmentVariables>
- <LOG_DIRS>${test.tmp.dir}</LOG_DIRS>
+ <LOG_DIRS>${test.log.dir}</LOG_DIRS>
</environmentVariables>
</configuration>
</plugin>