Added Maven ANT plugin definition
<maven.javadoc.skip>true</maven.javadoc.skip>
</properties>
</profile>
+
<profile>
<id>findbugs</id>
<build>
</plugins>
</build>
</profile>
+
<profile>
<!-- mvn -Powasp verify
</plugins>
</build>
</profile>
+
<profile>
<id>javac-errorprone</id>
<build>
</plugins>
</build>
</profile>
+
<profile>
<id>only-eclipse</id>
<activation>
<execute />
</action>
</pluginExecution>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <versionRange>[1.8,)</versionRange>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <execute />
+ </action>
+ </pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
<exclude>src/docs/**</exclude>
<exclude>src/test/resources/**</exclude>
<exclude>**/stty-output-*.txt</exclude>
+ <exclude>**/target/**</exclude>
<exclude>*checkstyle*</exclude>
<exclude>*findbugs*</exclude>
<exclude>*suppressions*</exclude>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.1</version>
</plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.8</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant</artifactId>
+ <version>${ant.version}</version>
+ </dependency>
+ <dependency> <!--Artificial dependency for tools.jar in case we invoke javac or javah -->
+ <groupId>com.sun</groupId>
+ <artifactId>tools</artifactId>
+ <version>${java.version}</version>
+ <scope>system</scope>
+ <systemPath>${java.home}/../lib/tools.jar</systemPath>
+ </dependency>
+ </dependencies>
+ </plugin>
</plugins>
</pluginManagement>
