You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by to...@apache.org on 2011/08/16 00:42:49 UTC

svn commit: r1158048 - in /hadoop/common/trunk/hadoop-common: CHANGES.txt pom.xml

Author: todd
Date: Mon Aug 15 22:42:49 2011
New Revision: 1158048

URL: http://svn.apache.org/viewvc?rev=1158048&view=rev
Log:
HADOOP-7545. Common -tests JAR should not include properties and configs. Contributed by Todd Lipcon.

Modified:
    hadoop/common/trunk/hadoop-common/CHANGES.txt
    hadoop/common/trunk/hadoop-common/pom.xml

Modified: hadoop/common/trunk/hadoop-common/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-common/CHANGES.txt?rev=1158048&r1=1158047&r2=1158048&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-common/CHANGES.txt (original)
+++ hadoop/common/trunk/hadoop-common/CHANGES.txt Mon Aug 15 22:42:49 2011
@@ -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

Modified: hadoop/common/trunk/hadoop-common/pom.xml
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-common/pom.xml?rev=1158048&r1=1158047&r2=1158048&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-common/pom.xml (original)
+++ hadoop/common/trunk/hadoop-common/pom.xml Mon Aug 15 22:42:49 2011
@@ -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>