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


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/4ebe8a6a
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/4ebe8a6a
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/4ebe8a6a

Branch: refs/heads/YARN-5734
Commit: 4ebe8a6a237258de9a7d8b041d78249bd3cca7a6
Parents: 1eb8186
Author: Jason Lowe <jl...@yahoo-inc.com>
Authored: Wed Mar 8 10:27:57 2017 -0600
Committer: Jason Lowe <jl...@yahoo-inc.com>
Committed: Wed Mar 8 10:27:57 2017 -0600

----------------------------------------------------------------------
 .../hadoop-mapreduce-client-jobclient/pom.xml           | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/4ebe8a6a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/pom.xml
----------------------------------------------------------------------
diff --git 
a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/pom.xml
 
b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/pom.xml
index 5cecebb..1747f59 100644
--- 
a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/pom.xml
+++ 
b/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>


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to