Browse Source

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>
stable-3.7
Alexander Kurtakov 10 years ago
parent
commit
5c788e2ce5
  1. 4
      org.eclipse.jgit.java7/pom.xml
  2. 8
      org.eclipse.jgit.pgm/pom.xml
  3. 4
      org.eclipse.jgit/pom.xml

4
org.eclipse.jgit.java7/pom.xml

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

8
org.eclipse.jgit.pgm/pom.xml

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

4
org.eclipse.jgit/pom.xml

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

Loading…
Cancel
Save