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:
parent
c9a5fdb3cd
commit
5c788e2ce5
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue