]> source.dussan.org Git - jgit.git/commitdiff
Do not use deprecated tasks in maven-antrun-plugin. 42/37842/1
authorAlexander Kurtakov <akurtako@redhat.com>
Tue, 9 Dec 2014 12:48:42 +0000 (14:48 +0200)
committerAlexander Kurtakov <akurtako@redhat.com>
Tue, 9 Dec 2014 12:48:42 +0000 (14:48 +0200)
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>
org.eclipse.jgit.java7/pom.xml
org.eclipse.jgit.pgm/pom.xml
org.eclipse.jgit/pom.xml

index 0d046ecd9aa33b6610576eb37380cab3cc963c75..57413fbbc7aea14879cdcc2fa0c77e0021464e61 100644 (file)
             <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>
index f52d1a6b35e08d28183006ff644e2bdfabd7b283..2c2a3aab4713b6eb27e89adf90f8f6a952af12d0 100644 (file)
             <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>
             <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>
index 33cd02df667d0d496c40f055060461dffb31bfba..1ceafe5eba825f613507c06bf5c32ceb194c3f73 100644 (file)
             <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>