MAPREDUCE-3199. Fixed pom files to include correct log4j configuration for tests. (vinodkv)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1185967 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d0a301e9f8
commit
3e3abcb769
|
@ -1674,6 +1674,9 @@ Release 0.23.0 - Unreleased
|
||||||
|
|
||||||
MAPREDUCE-3203. Fix some javac warnings in MRAppMaster. (mahadev)
|
MAPREDUCE-3203. Fix some javac warnings in MRAppMaster. (mahadev)
|
||||||
|
|
||||||
|
MAPREDUCE-3199. Fixed pom files to include correct log4j configuration for
|
||||||
|
tests. (vinodkv)
|
||||||
|
|
||||||
Release 0.22.0 - Unreleased
|
Release 0.22.0 - Unreleased
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -26,7 +26,8 @@
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<applink.base>${project.build.directory}/${project.name}</applink.base>
|
<applink.base>${project.build.directory}/${project.name}</applink.base>
|
||||||
<mr.basedir>${project.parent.parent.basedir}</mr.basedir>
|
<!-- Needed for generating FindBugs warnings using parent pom -->
|
||||||
|
<mr.basedir>${project.parent.basedir}/../</mr.basedir>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
|
@ -25,7 +25,8 @@
|
||||||
<name>hadoop-mapreduce-client-common</name>
|
<name>hadoop-mapreduce-client-common</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<mr.basedir>${project.parent.parent.basedir}</mr.basedir>
|
<!-- Needed for generating FindBugs warnings using parent pom -->
|
||||||
|
<mr.basedir>${project.parent.basedir}/../</mr.basedir>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
|
@ -25,9 +25,10 @@
|
||||||
<name>hadoop-mapreduce-client-core</name>
|
<name>hadoop-mapreduce-client-core</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
<!-- Needed for generating FindBugs warnings using parent pom -->
|
||||||
<mr.basedir>${project.parent.parent.basedir}</mr.basedir>
|
<mr.basedir>${project.parent.parent.basedir}</mr.basedir>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.hadoop</groupId>
|
<groupId>org.apache.hadoop</groupId>
|
||||||
|
@ -41,6 +42,15 @@
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<systemPropertyVariables>
|
||||||
|
<log4j.configuration>file:///${project.parent.basedir}/../src/test/log4j.properties</log4j.configuration>
|
||||||
|
</systemPropertyVariables>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.avro</groupId>
|
<groupId>org.apache.avro</groupId>
|
||||||
<artifactId>avro-maven-plugin</artifactId>
|
<artifactId>avro-maven-plugin</artifactId>
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
<name>hadoop-mapreduce-client-hs</name>
|
<name>hadoop-mapreduce-client-hs</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
<!-- Needed for generating FindBugs warnings using parent pom -->
|
||||||
<mr.basedir>${project.parent.parent.basedir}</mr.basedir>
|
<mr.basedir>${project.parent.parent.basedir}</mr.basedir>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
@ -50,15 +51,4 @@
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<excludes>
|
|
||||||
</excludes>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -26,7 +26,8 @@
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<fork.mode>always</fork.mode>
|
<fork.mode>always</fork.mode>
|
||||||
<mr.basedir>${project.parent.parent.basedir}</mr.basedir>
|
<!-- Needed for generating FindBugs warnings using parent pom -->
|
||||||
|
<mr.basedir>${project.parent.basedir}/../</mr.basedir>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
|
@ -25,7 +25,8 @@
|
||||||
<name>hadoop-mapreduce-client-shuffle</name>
|
<name>hadoop-mapreduce-client-shuffle</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<mr.basedir>${project.parent.parent.basedir}</mr.basedir>
|
<!-- Needed for generating FindBugs warnings using parent pom -->
|
||||||
|
<mr.basedir>${project.parent.basedir}/../</mr.basedir>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
|
@ -27,7 +27,8 @@
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<mr.basedir>${project.parent.basedir}</mr.basedir>
|
<!-- Needed for generating FindBugs warnings using parent pom -->
|
||||||
|
<mr.basedir>../</mr.basedir>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
<name>hadoop-yarn-api</name>
|
<name>hadoop-yarn-api</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
<!-- Needed for generating FindBugs warnings using parent pom -->
|
||||||
<yarn.basedir>${project.parent.basedir}</yarn.basedir>
|
<yarn.basedir>${project.parent.basedir}</yarn.basedir>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
<name>hadoop-yarn-applications-distributedshell</name>
|
<name>hadoop-yarn-applications-distributedshell</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
<!-- Needed for generating FindBugs warnings using parent pom -->
|
||||||
<yarn.basedir>${project.parent.parent.basedir}</yarn.basedir>
|
<yarn.basedir>${project.parent.parent.basedir}</yarn.basedir>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
<name>hadoop-yarn-common</name>
|
<name>hadoop-yarn-common</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
<!-- Needed for generating FindBugs warnings using parent pom -->
|
||||||
<yarn.basedir>${project.parent.basedir}</yarn.basedir>
|
<yarn.basedir>${project.parent.basedir}</yarn.basedir>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
<name>hadoop-yarn-server-common</name>
|
<name>hadoop-yarn-server-common</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
<!-- Needed for generating FindBugs warnings using parent pom -->
|
||||||
<yarn.basedir>${project.parent.parent.basedir}</yarn.basedir>
|
<yarn.basedir>${project.parent.parent.basedir}</yarn.basedir>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
<name>hadoop-yarn-server-nodemanager</name>
|
<name>hadoop-yarn-server-nodemanager</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
<!-- Basedir eeded for generating FindBugs warnings using parent pom -->
|
||||||
<yarn.basedir>${project.parent.parent.basedir}</yarn.basedir>
|
<yarn.basedir>${project.parent.parent.basedir}</yarn.basedir>
|
||||||
<container-executor.conf.dir>/etc/hadoop</container-executor.conf.dir>
|
<container-executor.conf.dir>/etc/hadoop</container-executor.conf.dir>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
<name>hadoop-yarn-server-resourcemanager</name>
|
<name>hadoop-yarn-server-resourcemanager</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
<!-- Needed for generating FindBugs warnings using parent pom -->
|
||||||
<yarn.basedir>${project.parent.parent.basedir}</yarn.basedir>
|
<yarn.basedir>${project.parent.parent.basedir}</yarn.basedir>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
<name>hadoop-yarn-server-tests</name>
|
<name>hadoop-yarn-server-tests</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
<!-- Needed for generating FindBugs warnings using parent pom -->
|
||||||
<yarn.basedir>${project.parent.parent.basedir}</yarn.basedir>
|
<yarn.basedir>${project.parent.parent.basedir}</yarn.basedir>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
<name>hadoop-yarn-site</name>
|
<name>hadoop-yarn-site</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
<!-- Needed for generating FindBugs warnings using parent pom -->
|
||||||
<yarn.basedir>${project.parent.parent.basedir}</yarn.basedir>
|
<yarn.basedir>${project.parent.parent.basedir}</yarn.basedir>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|
|
@ -389,26 +389,6 @@
|
||||||
<artifactId>maven-clean-plugin</artifactId>
|
<artifactId>maven-clean-plugin</artifactId>
|
||||||
<version>2.4.1</version>
|
<version>2.4.1</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
|
||||||
<!-- requires 2.5+ to make system properties work -->
|
|
||||||
<!-- requires 2.7+ to avoid SUREFIRE-640 -->
|
|
||||||
<version>2.9</version>
|
|
||||||
<configuration>
|
|
||||||
<failIfNoTests>false</failIfNoTests>
|
|
||||||
<redirectTestOutputToFile>${test.logs}</redirectTestOutputToFile>
|
|
||||||
<forkedProcessTimeoutInSeconds>${test.timeout}</forkedProcessTimeoutInSeconds>
|
|
||||||
<environmentVariables>
|
|
||||||
<JAVA_HOME>${java.home}</JAVA_HOME>
|
|
||||||
</environmentVariables>
|
|
||||||
<systemPropertyVariables>
|
|
||||||
<build.dir>${project.build.directory}</build.dir>
|
|
||||||
<build.output.dir>${project.build.outputDirectory}</build.output.dir>
|
|
||||||
<log4j.configuration>file:///${yarn.basedir}/../src/test/log4j.properties</log4j.configuration>
|
|
||||||
</systemPropertyVariables>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.atlassian.maven.plugins</groupId>
|
<groupId>com.atlassian.maven.plugins</groupId>
|
||||||
<artifactId>maven-clover2-plugin</artifactId>
|
<artifactId>maven-clover2-plugin</artifactId>
|
||||||
|
|
|
@ -194,27 +194,6 @@
|
||||||
<target>1.6</target>
|
<target>1.6</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
|
||||||
<!-- requires 2.5+ to make system properties work -->
|
|
||||||
<!-- requires 2.7+ to avoid SUREFIRE-640 -->
|
|
||||||
<version>2.9</version>
|
|
||||||
<configuration>
|
|
||||||
<failIfNoTests>false</failIfNoTests>
|
|
||||||
<redirectTestOutputToFile>${test.logs}</redirectTestOutputToFile>
|
|
||||||
<forkedProcessTimeoutInSeconds>${test.timeout}</forkedProcessTimeoutInSeconds>
|
|
||||||
<forkMode>${fork.mode}</forkMode>
|
|
||||||
<environmentVariables>
|
|
||||||
<JAVA_HOME>${java.home}</JAVA_HOME>
|
|
||||||
</environmentVariables>
|
|
||||||
<systemPropertyVariables>
|
|
||||||
<build.dir>${project.build.directory}</build.dir>
|
|
||||||
<build.output.dir>${project.build.outputDirectory}</build.output.dir>
|
|
||||||
<log4j.configuration>file:///${mr.basedir}/src/test/log4j.properties</log4j.configuration>
|
|
||||||
</systemPropertyVariables>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
|
|
Loading…
Reference in New Issue