Jelajahi Sumber

MAPREDUCE-3465. Fixed project pom to create test dirs - and fix failing tests. Contributed by Hitesh Shah

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1207728 13f79535-47bb-0310-9956-ffa450edef68
Siddharth Seth 13 tahun lalu
induk
melakukan
180b0177bb
2 mengubah file dengan 22 tambahan dan 0 penghapusan
  1. 3 0
      hadoop-common-project/hadoop-common/CHANGES.txt
  2. 19 0
      hadoop-project/pom.xml

+ 3 - 0
hadoop-common-project/hadoop-common/CHANGES.txt

@@ -42,6 +42,9 @@ Release 0.23.1 - Unreleased
 
    HADOOP-7859. TestViewFsHdfs.testgetFileLinkStatus is failing an assert. (eli)
 
+   MAPREDUCE-3465. Fixed project pom to create test dirs (and fix failing tests).
+   (Hitesh Shah via sseth)
+
 Release 0.23.0 - 2011-11-01 
 
   INCOMPATIBLE CHANGES

+ 19 - 0
hadoop-project/pom.xml

@@ -576,6 +576,25 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>create-testdirs</id>
+            <phase>validate</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <configuration>
+              <target>
+                <mkdir dir="${test.build.dir}"/>
+                <mkdir dir="${test.build.data}"/>
+              </target>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>