ant-run plugin
About
Use Cases
Example – Custom Script Execution
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<echo message="Custom task started..." />
<mkdir dir="generated/code" />
</target>
</configuration>
</execution>
</executions>
</plugin>Last updated