Skip to content

Commit

Permalink
Merge pull request #242 from darxriggs/antrun-plugin-improvements
Browse files Browse the repository at this point in the history
Improve maven-antrun-plugin configuration to show names of the executed targets
  • Loading branch information
oleg-nenashev authored Oct 22, 2019
2 parents b8f0936 + 4f957a0 commit 0659550
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,10 @@
<finalName>${project.artifactId}</finalName>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
Expand Down Expand Up @@ -763,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 @@ -887,16 +891,16 @@
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>initialize</phase>
<id>warn-deprecated-java.level</id>
<goals>
<goal>run</goal>
</goals>
<phase>initialize</phase>
<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>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
Expand Down

0 comments on commit 0659550

Please sign in to comment.