Do not use deprecated tasks in maven-antrun-plugin.

Maven-antrun-plugin deprecated tasks in favor of target, this patch
fixes JGit poms to do the same.

Change-Id: I420fd2ce88c61cf8e786ed45fbb8235dc30c124e
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
This commit is contained in:
Alexander Kurtakov 2014-12-09 14:48:42 +02:00
parent c9a5fdb3cd
commit 5c788e2ce5
3 changed files with 8 additions and 8 deletions

View File

@ -106,12 +106,12 @@
<id>translate-source-qualifier</id>
<phase>generate-resources</phase>
<configuration>
<tasks>
<target>
<copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
<replace file="${source-bundle-manifest}">
<replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
</replace>
</tasks>
</target>
</configuration>
<goals>
<goal>run</goal>

View File

@ -205,13 +205,13 @@
<id>create_jgit</id>
<phase>package</phase>
<configuration>
<tasks>
<target>
<concat destfile="${basedir}/target/jgit" force="yes" binary="true">
<fileset file="${basedir}/jgit.sh" />
<fileset file="${basedir}/target/jgit-cli.jar" />
</concat>
<chmod file="${basedir}/target/jgit" perm="a+x"/>
</tasks>
</target>
</configuration>
<goals>
<goal>run</goal>
@ -221,12 +221,12 @@
<id>translate-source-qualifier</id>
<phase>generate-resources</phase>
<configuration>
<tasks>
<target>
<copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
<replace file="${source-bundle-manifest}">
<replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
</replace>
</tasks>
</target>
</configuration>
<goals>
<goal>run</goal>

View File

@ -111,12 +111,12 @@
<id>translate-source-qualifier</id>
<phase>generate-resources</phase>
<configuration>
<tasks>
<target>
<copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
<replace file="${source-bundle-manifest}">
<replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
</replace>
</tasks>
</target>
</configuration>
<goals>
<goal>run</goal>