You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-commits@hadoop.apache.org by ma...@apache.org on 2011/05/25 03:54:20 UTC

svn commit: r1127358 - in /hadoop/mapreduce/branches/MR-279: CHANGES.txt mr-client/hadoop-mapreduce-client-jobclient/pom.xml

Author: mahadev
Date: Wed May 25 01:54:20 2011
New Revision: 1127358

URL: http://svn.apache.org/viewvc?rev=1127358&view=rev
Log:
MAPREDUCE-2534. Fix CI breaking hard coded version in jobclient pom. (Luke Lu via mahadev)

Modified:
    hadoop/mapreduce/branches/MR-279/CHANGES.txt
    hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-jobclient/pom.xml

Modified: hadoop/mapreduce/branches/MR-279/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/branches/MR-279/CHANGES.txt?rev=1127358&r1=1127357&r2=1127358&view=diff
==============================================================================
--- hadoop/mapreduce/branches/MR-279/CHANGES.txt (original)
+++ hadoop/mapreduce/branches/MR-279/CHANGES.txt Wed May 25 01:54:20 2011
@@ -3,6 +3,9 @@ Hadoop MapReduce Change Log
 Trunk (unreleased changes)
 
   MAPREDUCE-279
+
+    MAPREDUCE-2534. Fix CI breaking hard coded version in jobclient pom. 
+    (Luke Lu via mahadev)
    
     MAPREDUCE-2522. Security for JobHistory service. (Siddharth Seth via 
     mahadev)

Modified: hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-jobclient/pom.xml
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-jobclient/pom.xml?rev=1127358&r1=1127357&r2=1127358&view=diff
==============================================================================
--- hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-jobclient/pom.xml (original)
+++ hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-jobclient/pom.xml Wed May 25 01:54:20 2011
@@ -79,15 +79,16 @@
           </execution>
         </executions>
       </plugin>
-       <plugin>
-         <groupId>org.apache.maven.plugins</groupId>
-         <artifactId>maven-surefire-plugin</artifactId>
-           <configuration>
-             <additionalClasspathElements>
-               <additionalClasspathElement>${basedir}/target/hadoop-mapreduce-client-jobclient-1.0-SNAPSHOT-tests.jar</additionalClasspathElement>
-             </additionalClasspathElements>
-           </configuration>
-        </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <additionalClasspathElements>
+            <!-- workaround for JobConf#setJarByClass -->
+            <additionalClasspathElement>${project.build.directory}/${project.artifactId}-${project.version}-tests.jar</additionalClasspathElement>
+          </additionalClasspathElements>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 </project>