You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mb...@apache.org on 2014/02/13 22:41:21 UTC

svn commit: r1568047 - /commons/proper/weaver/trunk/ant/test/pom.xml

Author: mbenson
Date: Thu Feb 13 21:41:20 2014
New Revision: 1568047

URL: http://svn.apache.org/r1568047
Log:
add cleaning for Antlib test

Modified:
    commons/proper/weaver/trunk/ant/test/pom.xml

Modified: commons/proper/weaver/trunk/ant/test/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/ant/test/pom.xml?rev=1568047&r1=1568046&r2=1568047&view=diff
==============================================================================
--- commons/proper/weaver/trunk/ant/test/pom.xml (original)
+++ commons/proper/weaver/trunk/ant/test/pom.xml Thu Feb 13 21:41:20 2014
@@ -86,7 +86,7 @@ under the License.
               </execution>
               <execution>
                 <id>copy-dependencies</id>
-                <phase>process-sources</phase>
+                <phase>generate-sources</phase>
                 <goals>
                   <goal>copy-dependencies</goal>
                 </goals>
@@ -140,6 +140,32 @@ under the License.
             <artifactId>maven-antrun-plugin</artifactId>
             <executions>
               <execution>
+                <id>clean</id>
+                <phase>process-sources</phase>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+                <configuration>
+                  <target>
+                    <sequential xmlns:cw="antlib:org.apache.commons.weaver.ant">
+                      <path id="cp">
+                        <fileset dir="${project.build.directory}/compile-classpath" erroronmissingdir="false" />
+                      </path>
+                      <typedef uri="antlib:org.apache.commons.weaver.ant" resource="org/apache/commons/weaver/ant/antlib.xml" classpathref="cp" />
+
+                      <cw:clean>
+                        <cw:settings target="${project.build.outputDirectory}" classpathref="cp">
+                          <properties>
+                            <privilizer.policy>${privilizer.policy}</privilizer.policy>
+                            <privilizer.accessLevel>PACKAGE</privilizer.accessLevel>
+                          </properties>
+                        </cw:settings>
+                      </cw:clean>
+                    </sequential>
+                  </target>
+                </configuration>
+              </execution>
+              <execution>
                 <id>weave</id>
                 <phase>process-classes</phase>
                 <goals>