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/05ebf508
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/05ebf508
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/05ebf508

Branch: refs/heads/HDFS-7240
Commit: 05ebf508c8df346bc40f8f30b1235a4b6944663e
Parents: 7e68257
Author: Jason Lowe <[email protected]>
Authored: Wed Mar 8 10:27:57 2017 -0600
Committer: Anu Engineer <[email protected]>
Committed: Wed Mar 8 15:34:04 2017 -0800

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


http://git-wip-us.apache.org/repos/asf/hadoop/blob/05ebf508/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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to