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
This commit is contained in:
Todd Lipcon 2011-08-15 22:42:49 +00:00
parent 2ab3433e0e
commit e5508496dc
2 changed files with 15 additions and 0 deletions

View File

@ -495,6 +495,9 @@ Trunk (unreleased changes)
HADOOP-7529. Fix lock cycles in metrics system. (llu) 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 Release 0.22.0 - Unreleased
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

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