You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2014/08/08 19:37:27 UTC

svn commit: r1616836 - /maven/plugins/trunk/maven-assembly-plugin/pom.xml

Author: rfscholte
Date: Fri Aug  8 17:37:26 2014
New Revision: 1616836

URL: http://svn.apache.org/r1616836
Log:
Upgrade maven-invoker-plugin to 1.9
replace maven-antrun-plugin with invokers cloneClean property

Modified:
    maven/plugins/trunk/maven-assembly-plugin/pom.xml

Modified: maven/plugins/trunk/maven-assembly-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/pom.xml?rev=1616836&r1=1616835&r2=1616836&view=diff
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-assembly-plugin/pom.xml Fri Aug  8 17:37:26 2014
@@ -354,7 +354,7 @@ under the License.
       </pluginRepositories>
 
       <properties>
-        <invokerPluginVersion>1.5</invokerPluginVersion>
+        <invokerPluginVersion>1.9</invokerPluginVersion>
         <itParent>${project.build.directory}/it/it-project-parent</itParent>
         <itProjects>${project.build.directory}/it/projects</itProjects>
         <localRepositoryPath>${project.build.directory}/local-repository</localRepositoryPath>
@@ -369,26 +369,9 @@ under the License.
       <build>
         <plugins>
           <plugin>
-            <artifactId>maven-antrun-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>del-IT-clone-destination</id>
-                <phase>package</phase>
-                <goals>
-                  <goal>run</goal>
-                </goals>
-                <configuration>
-                  <target>
-                    <delete dir="${itProjects}" failonerror="false" />
-                  </target>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-invoker-plugin</artifactId>
             <version>${invokerPluginVersion}</version>
-
             <configuration>
               <localRepositoryPath>${localRepositoryPath}</localRepositoryPath>
               <properties>
@@ -425,6 +408,7 @@ under the License.
                 <phase>integration-test</phase>
                 <configuration>
                   <projectsDirectory>src/it/projects</projectsDirectory>
+                  <cloneClean>true</cloneClean>
                   <cloneProjectsTo>${itProjects}</cloneProjectsTo>
                   <testPropertiesFile>test.properties</testPropertiesFile>
                   <properties>