Skip to content

Commit

Permalink
Replace deprecated <tasks> with <target> for maven-antrun-plugin
Browse files Browse the repository at this point in the history
<target> is available since plugin version 1.5
  • Loading branch information
darxriggs committed Oct 19, 2019
1 parent a3c01da commit 9940847
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -767,9 +767,9 @@
<id>createTempDir</id>
<phase>generate-test-resources</phase>
<configuration>
<tasks>
<target>
<mkdir dir="${surefireTempDir}" />
</tasks>
</target>
</configuration>
<goals>
<goal>run</goal>
Expand Down Expand Up @@ -897,9 +897,9 @@
<goal>run</goal>
</goals>
<configuration>
<tasks>
<target>
<echo>WARNING: Plugin POM defines java.level=${java.level} which is deprecated in the current Plugin POM version. See https://github.com/jenkinsci/plugin-pom/blob/master/README.md#java-support</echo>
</tasks>
</target>
</configuration>
</execution>
</executions>
Expand Down

0 comments on commit 9940847

Please sign in to comment.