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-3199. Fixed pom files to include correct log4j configuration for
|
||||
tests. (vinodkv)
|
||||
|
||||
Release 0.22.0 - Unreleased
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -26,7 +26,8 @@
|
|||
|
||||
<properties>
|
||||
<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>
|
||||
|
||||
<dependencies>
|
||||
|
|
|
@ -25,7 +25,8 @@
|
|||
<name>hadoop-mapreduce-client-common</name>
|
||||
|
||||
<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>
|
||||
|
||||
<dependencies>
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
<name>hadoop-mapreduce-client-core</name>
|
||||
|
||||
<properties>
|
||||
<!-- Needed for generating FindBugs warnings using parent pom -->
|
||||
<mr.basedir>${project.parent.parent.basedir}</mr.basedir>
|
||||
</properties>
|
||||
|
||||
|
@ -41,6 +42,15 @@
|
|||
|
||||
<build>
|
||||
<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>
|
||||
<groupId>org.apache.avro</groupId>
|
||||
<artifactId>avro-maven-plugin</artifactId>
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
<name>hadoop-mapreduce-client-hs</name>
|
||||
|
||||
<properties>
|
||||
<!-- Needed for generating FindBugs warnings using parent pom -->
|
||||
<mr.basedir>${project.parent.parent.basedir}</mr.basedir>
|
||||
</properties>
|
||||
|
||||
|
@ -50,15 +51,4 @@
|
|||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<excludes>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
|
|
@ -26,7 +26,8 @@
|
|||
|
||||
<properties>
|
||||
<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>
|
||||
|
||||
<dependencies>
|
||||
|
|
|
@ -25,7 +25,8 @@
|
|||
<name>hadoop-mapreduce-client-shuffle</name>
|
||||
|
||||
<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>
|
||||
|
||||
<dependencies>
|
||||
|
|
|
@ -27,7 +27,8 @@
|
|||
<packaging>pom</packaging>
|
||||
|
||||
<properties>
|
||||
<mr.basedir>${project.parent.basedir}</mr.basedir>
|
||||
<!-- Needed for generating FindBugs warnings using parent pom -->
|
||||
<mr.basedir>../</mr.basedir>
|
||||
</properties>
|
||||
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
<name>hadoop-yarn-api</name>
|
||||
|
||||
<properties>
|
||||
<!-- Needed for generating FindBugs warnings using parent pom -->
|
||||
<yarn.basedir>${project.parent.basedir}</yarn.basedir>
|
||||
</properties>
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
<name>hadoop-yarn-applications-distributedshell</name>
|
||||
|
||||
<properties>
|
||||
<!-- Needed for generating FindBugs warnings using parent pom -->
|
||||
<yarn.basedir>${project.parent.parent.basedir}</yarn.basedir>
|
||||
</properties>
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
<name>hadoop-yarn-common</name>
|
||||
|
||||
<properties>
|
||||
<!-- Needed for generating FindBugs warnings using parent pom -->
|
||||
<yarn.basedir>${project.parent.basedir}</yarn.basedir>
|
||||
</properties>
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
<name>hadoop-yarn-server-common</name>
|
||||
|
||||
<properties>
|
||||
<!-- Needed for generating FindBugs warnings using parent pom -->
|
||||
<yarn.basedir>${project.parent.parent.basedir}</yarn.basedir>
|
||||
</properties>
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
<name>hadoop-yarn-server-nodemanager</name>
|
||||
|
||||
<properties>
|
||||
<!-- Basedir eeded for generating FindBugs warnings using parent pom -->
|
||||
<yarn.basedir>${project.parent.parent.basedir}</yarn.basedir>
|
||||
<container-executor.conf.dir>/etc/hadoop</container-executor.conf.dir>
|
||||
</properties>
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
<name>hadoop-yarn-server-resourcemanager</name>
|
||||
|
||||
<properties>
|
||||
<!-- Needed for generating FindBugs warnings using parent pom -->
|
||||
<yarn.basedir>${project.parent.parent.basedir}</yarn.basedir>
|
||||
</properties>
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
<name>hadoop-yarn-server-tests</name>
|
||||
|
||||
<properties>
|
||||
<!-- Needed for generating FindBugs warnings using parent pom -->
|
||||
<yarn.basedir>${project.parent.parent.basedir}</yarn.basedir>
|
||||
</properties>
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
<name>hadoop-yarn-site</name>
|
||||
|
||||
<properties>
|
||||
<!-- Needed for generating FindBugs warnings using parent pom -->
|
||||
<yarn.basedir>${project.parent.parent.basedir}</yarn.basedir>
|
||||
</properties>
|
||||
|
||||
|
|
|
@ -389,26 +389,6 @@
|
|||
<artifactId>maven-clean-plugin</artifactId>
|
||||
<version>2.4.1</version>
|
||||
</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>
|
||||
<groupId>com.atlassian.maven.plugins</groupId>
|
||||
<artifactId>maven-clover2-plugin</artifactId>
|
||||
|
|
|
@ -194,27 +194,6 @@
|
|||
<target>1.6</target>
|
||||
</configuration>
|
||||
</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>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
|
|
Loading…
Reference in New Issue