mirror of https://github.com/apache/maven.git
Upgrade maven-antrun-plugin to 3.0.0
This commit is contained in:
parent
3615723179
commit
df98cdb4ca
|
@ -380,7 +380,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>
|
||||
|
@ -389,7 +389,7 @@ under the License.
|
|||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<target>
|
||||
<delete dir="${mavenHome}" />
|
||||
<unzip src="${project.build.directory}/maven-bin.zip"
|
||||
dest="${mavenHome}">
|
||||
|
@ -398,7 +398,7 @@ under the License.
|
|||
</unzip>
|
||||
<chmod dir="${mavenHome}/bin" perm="ugo+rx"
|
||||
includes="mvn,mvnDebug" />
|
||||
</tasks>
|
||||
</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
|
@ -427,7 +427,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>
|
||||
|
@ -436,7 +436,7 @@ under the License.
|
|||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<target>
|
||||
<delete dir="${mavenHome}" />
|
||||
<unzip src="${mavenDistro}" dest="${mavenHome}">
|
||||
<regexpmapper from="^([^/]+)/(.*)$"
|
||||
|
@ -444,7 +444,7 @@ under the License.
|
|||
</unzip>
|
||||
<chmod dir="${mavenHome}/bin" perm="ugo+rx"
|
||||
includes="mvn,mvnDebug" />
|
||||
</tasks>
|
||||
</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
|
@ -469,7 +469,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>
|
||||
|
@ -478,14 +478,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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -20,9 +20,9 @@
|
|||
<phase>install</phase>
|
||||
<goals><goal>run</goal></goals>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<target>
|
||||
<echo>hello world</echo>
|
||||
</tasks>
|
||||
</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
|
|
Loading…
Reference in New Issue