<plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.7</version> <executions> <execution> <phase>process-resources</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <ant antfile="build.xml"> <target name="package.njrf" /> </ant> </target> </configuration> </execution> </executions> </plugin> </plugins>