Browse Source

HADOOP-7545. Common -tests JAR should not include properties and configs. Contributed by Todd Lipcon.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1158048 13f79535-47bb-0310-9956-ffa450edef68
Todd Lipcon 13 years ago
parent
commit
e5508496dc
2 changed files with 15 additions and 0 deletions
  1. 3 0
      hadoop-common/CHANGES.txt
  2. 12 0
      hadoop-common/pom.xml

+ 3 - 0
hadoop-common/CHANGES.txt

@@ -495,6 +495,9 @@ Trunk (unreleased changes)
 
     HADOOP-7529. Fix lock cycles in metrics system. (llu)
 
+    HADOOP-7545. Common -tests JAR should not include properties and configs.
+    (todd)
+
 Release 0.22.0 - Unreleased
 
   INCOMPATIBLE CHANGES

+ 12 - 0
hadoop-common/pom.xml

@@ -279,11 +279,23 @@
         <artifactId>maven-jar-plugin</artifactId>
         <executions>
           <execution>
+            <id>prepare-jar</id>
             <phase>prepare-package</phase>
             <goals>
               <goal>jar</goal>
+            </goals>
+          </execution>
+          <execution>
+            <id>prepare-test-jar</id>
+            <phase>prepare-package</phase>
+            <goals>
               <goal>test-jar</goal>
             </goals>
+            <configuration>
+              <includes>
+                <include>**/*.class</include>
+              </includes>
+            </configuration>
           </execution>
         </executions>
       </plugin>