You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by js...@apache.org on 2007/08/15 14:34:25 UTC

svn commit: r566121 - /activemq/trunk/activemq-core/pom.xml

Author: jstrachan
Date: Wed Aug 15 05:34:24 2007
New Revision: 566121

URL: http://svn.apache.org/viewvc?view=rev&rev=566121
Log:
Removing unwanted test files from the test-jar

Modified:
    activemq/trunk/activemq-core/pom.xml

Modified: activemq/trunk/activemq-core/pom.xml
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/pom.xml?view=diff&rev=566121&r1=566120&r2=566121
==============================================================================
--- activemq/trunk/activemq-core/pom.xml (original)
+++ activemq/trunk/activemq-core/pom.xml Wed Aug 15 05:34:24 2007
@@ -388,23 +388,27 @@
         </configuration>
       </plugin>
 
-      <!-- generate the attached tests jar -->
-      <plugin>
-        <artifactId>maven-jar-plugin</artifactId>
-        <executions>
-          <execution>
-            <goals>
-              <goal>test-jar</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-antrun-plugin</artifactId>
 
         <executions>
+	        <execution>
+            <id>package</id>
+            <phase>package</phase>
+            <configuration>
+              <tasks>
+                <echo>Deleting unwanted resources from the test-jar</echo>
+                <delete dir="${project.build.directory}/test-classes" verbose="true">
+									<include name="*.*"/>
+								</delete>
+              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+  
           <execution>
             <id>site</id>
             <phase>site</phase>
@@ -436,6 +440,18 @@
             <version>1.0</version>
           </dependency>
         </dependencies>
+      </plugin>
+
+      <!-- generate the attached tests jar -->
+      <plugin>
+        <artifactId>maven-jar-plugin</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>test-jar</goal>
+            </goals>
+          </execution>
+        </executions>
       </plugin>
 
       <plugin>