This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch maven-antrun-plugin-3
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git

commit a6514c775f765a4175cac380ffe1b50ec4c193b9
Author: Sylwester Lachiewicz <slachiew...@apache.org>
AuthorDate: Sun Apr 12 18:31:21 2020 +0200

    Test with maven-antrun-plugin 3.0.0
---
 core-it-suite/pom.xml                              | 18 ++++++++---------
 .../src/test/resources/bootstrap/group-7/pom.xml   |  2 +-
 core-it-suite/src/test/resources/bootstrap/pom.xml | 12 +++++++++++
 .../test/resources/mng-0624/simple/child/pom.xml   |  4 ++--
 pom.xml                                            | 23 ++++++++++++++++++++++
 5 files changed, 47 insertions(+), 12 deletions(-)

diff --git a/core-it-suite/pom.xml b/core-it-suite/pom.xml
index 1830219..93bb5f6 100644
--- a/core-it-suite/pom.xml
+++ b/core-it-suite/pom.xml
@@ -374,7 +374,7 @@ under the License.
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-antrun-plugin</artifactId>
-            <version>1.3</version>
+            <version>3.0.0</version>
             <executions>
               <execution>
                 <id>unpack-maven-distro</id>
@@ -383,7 +383,7 @@ under the License.
                   <goal>run</goal>
                 </goals>
                 <configuration>
-                  <tasks>
+                  <target>
                     <delete dir="${mavenHome}" />
                     <unzip src="${project.build.directory}/maven-bin.zip"
                       dest="${mavenHome}">
@@ -392,7 +392,7 @@ under the License.
                     </unzip>
                     <chmod dir="${mavenHome}/bin" perm="ugo+rx"
                       includes="mvn,mvnDebug" />
-                  </tasks>
+                  </target>
                 </configuration>
               </execution>
             </executions>
@@ -421,7 +421,7 @@ under the License.
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-antrun-plugin</artifactId>
-            <version>1.6</version>
+            <version>3.0.0</version>
             <executions>
               <execution>
                 <id>unpack-maven-distro</id>
@@ -430,7 +430,7 @@ under the License.
                   <goal>run</goal>
                 </goals>
                 <configuration>
-                  <tasks>
+                  <target>
                     <delete dir="${mavenHome}" />
                     <unzip src="${mavenDistro}" dest="${mavenHome}">
                       <regexpmapper from="^([^/]+)/(.*)$"
@@ -438,7 +438,7 @@ under the License.
                     </unzip>
                     <chmod dir="${mavenHome}/bin" perm="ugo+rx"
                       includes="mvn,mvnDebug" />
-                  </tasks>
+                  </target>
                 </configuration>
               </execution>
             </executions>
@@ -463,7 +463,7 @@ under the License.
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-antrun-plugin</artifactId>
-            <version>1.3</version>
+            <version>3.0.0</version>
             <executions>
               <execution>
                 <id>copy-maven-distro</id>
@@ -472,14 +472,14 @@ under the License.
                   <goal>run</goal>
                 </goals>
                 <configuration>
-                  <tasks>
+                  <target>
                     <delete dir="${preparedMavenHome}" />
                     <copy todir="${preparedMavenHome}" overwrite="true">
                       <fileset dir="${mavenHome}" />
                     </copy>
                     <chmod dir="${preparedMavenHome}/bin" perm="ugo+rx"
                       includes="mvn,mvnDebug" />
-                  </tasks>
+                  </target>
                 </configuration>
               </execution>
             </executions>
diff --git a/core-it-suite/src/test/resources/bootstrap/group-7/pom.xml 
b/core-it-suite/src/test/resources/bootstrap/group-7/pom.xml
index 821f9e7..acb2afe 100644
--- a/core-it-suite/src/test/resources/bootstrap/group-7/pom.xml
+++ b/core-it-suite/src/test/resources/bootstrap/group-7/pom.xml
@@ -70,7 +70,7 @@ under the License.
     <dependency>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-antrun-plugin</artifactId>
-      <version>1.3</version>
+      <version>3.0.0</version>
       <scope>runtime</scope>
     </dependency>
     <dependency>
diff --git a/core-it-suite/src/test/resources/bootstrap/pom.xml 
b/core-it-suite/src/test/resources/bootstrap/pom.xml
index 9f65a77..cbb2528 100644
--- a/core-it-suite/src/test/resources/bootstrap/pom.xml
+++ b/core-it-suite/src/test/resources/bootstrap/pom.xml
@@ -53,6 +53,18 @@ under the License.
     <maven.test.skip>true</maven.test.skip>
   </properties>
 
+  <repositories>
+    <repository>
+      <id>apache.staging.1562</id>
+      <url>https://repository.apache.org/content/repositories/maven-1562/</url>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+      <releases>
+        <enabled>true</enabled>
+      </releases>
+    </repository>
+  </repositories>
   <build>
     <!-- This merely locks the plugin versions to disable auto-update -->
     <plugins>
diff --git a/core-it-suite/src/test/resources/mng-0624/simple/child/pom.xml 
b/core-it-suite/src/test/resources/mng-0624/simple/child/pom.xml
index 0fa2443..c578ab7 100644
--- a/core-it-suite/src/test/resources/mng-0624/simple/child/pom.xml
+++ b/core-it-suite/src/test/resources/mng-0624/simple/child/pom.xml
@@ -20,9 +20,9 @@
                 <phase>install</phase>
                 <goals><goal>run</goal></goals>
                 <configuration>
-                  <tasks>
+                  <target>
                     <echo>hello world</echo>
-                  </tasks>
+                  </target>
                 </configuration>
               </execution>
             </executions>
diff --git a/pom.xml b/pom.xml
index 9ceb300..8f82b16 100644
--- a/pom.xml
+++ b/pom.xml
@@ -95,8 +95,31 @@ under the License.
         <enabled>false</enabled>
       </releases>
     </repository>
+    <repository>
+      <id>apache.staging.1562</id>
+      <url>https://repository.apache.org/content/repositories/maven-1562/</url>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+      <releases>
+        <enabled>true</enabled>
+      </releases>
+    </repository>
   </repositories>
 
+  <pluginRepositories>
+    <pluginRepository>
+      <id>apache.staging.1562</id>
+      <url>https://repository.apache.org/content/repositories/maven-1562/</url>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+      <releases>
+        <enabled>true</enabled>
+      </releases>
+    </pluginRepository>
+  </pluginRepositories>
+
   <profiles>
     <profile>
       <id>reporting</id>

Reply via email to