db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject svn commit: r1421992 - /db/jdo/trunk/copyjdorijars/pom.xml
Date Fri, 14 Dec 2012 17:36:09 GMT
Author: mbo
Date: Fri Dec 14 17:36:08 2012
New Revision: 1421992

URL: http://svn.apache.org/viewvc?rev=1421992&view=rev
Log:
JDO-717: use the maven clean plugin to cleanup the target directory before copying the jdori
jars

Modified:
    db/jdo/trunk/copyjdorijars/pom.xml

Modified: db/jdo/trunk/copyjdorijars/pom.xml
URL: http://svn.apache.org/viewvc/db/jdo/trunk/copyjdorijars/pom.xml?rev=1421992&r1=1421991&r2=1421992&view=diff
==============================================================================
--- db/jdo/trunk/copyjdorijars/pom.xml (original)
+++ db/jdo/trunk/copyjdorijars/pom.xml Fri Dec 14 17:36:08 2012
@@ -40,6 +40,30 @@
     </resources>
     <plugins>
       <plugin>
+        <artifactId>maven-clean-plugin</artifactId>
+        <version>2.5</version>
+        <configuration>
+          <filesets>
+            <fileset>
+              <directory>${basedir}/../lib/jdori</directory>
+              <includes>
+                <include>*</include>
+              </includes>
+              <followSymlinks>false</followSymlinks>
+            </fileset>
+          </filesets>
+        </configuration>
+        <executions>
+          <execution>
+            <id>clean-traget-directory</id>
+            <phase>initialize</phase>
+            <goals>
+              <goal>clean</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-dependency-plugin</artifactId>
         <executions>



Mime
View raw message