You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2008/02/28 08:24:45 UTC

svn commit: r631877 - /activemq/camel/trunk/camel-core/pom.xml

Author: ningjiang
Date: Wed Feb 27 23:24:44 2008
New Revision: 631877

URL: http://svn.apache.org/viewvc?rev=631877&view=rev
Log:
CAMEL-345 Applied the patch with thanks to Jonathan

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

Modified: activemq/camel/trunk/camel-core/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/pom.xml?rev=631877&r1=631876&r2=631877&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/pom.xml (original)
+++ activemq/camel/trunk/camel-core/pom.xml Wed Feb 27 23:24:44 2008
@@ -95,30 +95,10 @@
 
   <build>
     <plugins>
-      <!-- lets delete the log4j.properties from the test-jar -->
-      <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 file="${project.build.directory}/test-classes/log4j.properties" verbose="true"/>
-              </tasks>
-            </configuration>
-            <goals>
-              <goal>run</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-
       <!-- generate the attached tests jar -->
       <plugin>
         <artifactId>maven-jar-plugin</artifactId>
+        <version>2.2</version>
         <executions>
           <execution>
             <goals>
@@ -127,9 +107,8 @@
           </execution>
         </executions>
         <configuration>
-          <!-- TODO this doesn't work - if ever we can figure out the maven ninja to get it working, we can zap the Ant stuff above -->
           <excludes>
-            <exclude>**/*/log4j.properties</exclude>
+            <exclude>log4j.properties</exclude>
           </excludes>
         </configuration>
       </plugin>