瀏覽代碼

MAPREDUCE-4683. Create and distribute hadoop-mapreduce-client-core-tests.jar.

Akira Ajisaka 8 年之前
父節點
當前提交
f54afdb83b
共有 1 個文件被更改,包括 16 次插入0 次删除
  1. 16 0
      hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/pom.xml

+ 16 - 0
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/pom.xml

@@ -60,6 +60,22 @@
 
   <build>
     <plugins>
+      <plugin>
+        <artifactId>maven-jar-plugin</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>test-jar</goal>
+            </goals>
+            <configuration>
+              <excludes>
+                <exclude>**/mapred-queues.xml</exclude>
+              </excludes>
+            </configuration>
+            <phase>test-compile</phase>
+          </execution>
+        </executions>
+      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>