activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r566121 - /activemq/trunk/activemq-core/pom.xml
Date Wed, 15 Aug 2007 12:34:25 GMT
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>



Mime
View raw message