summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.pgm/pom.xml
diff options
context:
space:
mode:
authorAlexander Kurtakov <akurtako@redhat.com>2014-12-09 14:48:42 +0200
committerAlexander Kurtakov <akurtako@redhat.com>2014-12-09 14:48:42 +0200
commit5c788e2ce59fb8f16823675f0775019362c777ae (patch)
tree17ae5427a1107b50939bf184355d9e2cd1274a01 /org.eclipse.jgit.pgm/pom.xml
parentc9a5fdb3cd92d5774aa7041b9fc9fc579dc26edc (diff)
downloadjgit-5c788e2ce59fb8f16823675f0775019362c777ae.tar.gz
jgit-5c788e2ce59fb8f16823675f0775019362c777ae.zip
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>
Diffstat (limited to 'org.eclipse.jgit.pgm/pom.xml')
-rw-r--r--org.eclipse.jgit.pgm/pom.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.jgit.pgm/pom.xml b/org.eclipse.jgit.pgm/pom.xml
index f52d1a6b35..2c2a3aab47 100644
--- a/org.eclipse.jgit.pgm/pom.xml
+++ b/org.eclipse.jgit.pgm/pom.xml
@@ -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>