The maven-antrun-plugin has only two goals, bpel2java and wsdl2java.
This allows Maven 2 to run Ant tasks. To do so, there must be an existing project and maven-antrun-plugin must have its <target> tag configured (although it would still execute without the <target> tag, it would not do anything). Below is the template for maven-antrun-plugin's pom.xml.