Browse Source

MAPREDUCE-6859. hadoop-mapreduce-client-jobclient.jar sets a main class that isn't in the JAR. Contributed by Daniel Templeton

Jason Lowe 8 years ago
parent
commit
4ebe8a6a23

+ 5 - 7
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/pom.xml

@@ -143,17 +143,15 @@
               <excludes>
                 <exclude>**/hdfs-site.xml</exclude>
               </excludes>
+              <archive>
+                <manifest>
+                  <mainClass>org.apache.hadoop.test.MapredTestDriver</mainClass>
+                </manifest>
+              </archive>
             </configuration>
             <phase>test-compile</phase>
           </execution>
         </executions>
-        <configuration>       
-         <archive>
-          <manifest>
-           <mainClass>org.apache.hadoop.test.MapredTestDriver</mainClass>
-         </manifest>
-         </archive>
-        </configuration>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>