Maven, ant plugin
1 answer
Check the Maven AntRun plugin , this is exactly what you are looking for
Here is an example from the home page
<project>
...
<build>
<plugins>
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<phase> <!-- a lifecycle phase --> </phase>
<configuration>
<!-- ANT TASKS HERE -->
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
...
</plugins>
</build>
...
</project>
+4
a source to share