hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bch...@apache.org
Subject svn commit: r1613072 - in /hadoop/common/branches/MR-2841/hadoop-mapreduce-project/hadoop-mapreduce-client: hadoop-mapreduce-client-common/pom.xml hadoop-mapreduce-client-nativetask/pom.xml
Date Thu, 24 Jul 2014 11:44:10 GMT
Author: bchang
Date: Thu Jul 24 11:44:09 2014
New Revision: 1613072

URL: http://svn.apache.org/r1613072
Log:
MAPREDUCE-5991. native-task should not run unit tests if native profile is not enabled. Contributed
by Binglin Chang.

Modified:
    hadoop/common/branches/MR-2841/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/pom.xml
    hadoop/common/branches/MR-2841/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/pom.xml

Modified: hadoop/common/branches/MR-2841/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/pom.xml
URL: http://svn.apache.org/viewvc/hadoop/common/branches/MR-2841/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/pom.xml?rev=1613072&r1=1613071&r2=1613072&view=diff
==============================================================================
--- hadoop/common/branches/MR-2841/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/pom.xml
(original)
+++ hadoop/common/branches/MR-2841/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/pom.xml
Thu Jul 24 11:44:09 2014
@@ -84,6 +84,17 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <artifactId>maven-jar-plugin</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>test-jar</goal>
+            </goals>
+            <phase>test-compile</phase>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 </project>

Modified: hadoop/common/branches/MR-2841/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/pom.xml
URL: http://svn.apache.org/viewvc/hadoop/common/branches/MR-2841/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/pom.xml?rev=1613072&r1=1613071&r2=1613072&view=diff
==============================================================================
--- hadoop/common/branches/MR-2841/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/pom.xml
(original)
+++ hadoop/common/branches/MR-2841/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/pom.xml
Thu Jul 24 11:44:09 2014
@@ -63,6 +63,12 @@
       <type>test-jar</type>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>org.apache.hadoop</groupId>
+      <artifactId>hadoop-mapreduce-client-common</artifactId>
+      <type>test-jar</type>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 
   <build>
@@ -82,14 +88,7 @@
             <include>**/buffer/Test*.java</include>
             <include>**/handlers/Test*.java</include>
             <include>**/serde/Test*.java</include>
-            <include>**/combinertest/*Test.java</include>
-            <include>**/compresstest/*Test.java</include>
-            <include>**/nonsorttest/*Test.java</include>
-            <include>**/kvtest/*Test.java</include>
           </includes>
-          <additionalClasspathElements>
-            <additionalClasspathElement>${basedir}/../hadoop-mapreduce-client-common/target/classes</additionalClasspathElement>
-          </additionalClasspathElements>
         </configuration>
       </plugin>
     </plugins>
@@ -184,6 +183,28 @@
               </execution>
             </executions>
           </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <properties>
+                <property>
+                  <name>listener</name>
+                  <value>org.apache.hadoop.test.TimedOutTestsListener</value>
+                </property>
+              </properties>
+              <includes>
+                <include>**/TestTaskContext.java</include>
+                <include>**/buffer/Test*.java</include>
+                <include>**/handlers/Test*.java</include>
+                <include>**/serde/Test*.java</include>
+                <include>**/combinertest/*Test.java</include>
+                <include>**/compresstest/*Test.java</include>
+                <include>**/nonsorttest/*Test.java</include>
+                <include>**/kvtest/*Test.java</include>
+              </includes>
+            </configuration>
+          </plugin>
         </plugins>
       </build>
     </profile>



Mime
View raw message