You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by mb...@apache.org on 2012/12/14 18:36:09 UTC

svn commit: r1421992 - /db/jdo/trunk/copyjdorijars/pom.xml

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>