Run ant task in maven build phase before war is packaged?
When deploying a webapp I need to concat some files, currently this is achieved via an ant task. I'm trying to run this task in the maven build process using something like the following: <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>1.7</version> <executions> <execution> <phase>package</phase> <configuration> <target> <move file="${project.build.directory}/${project.name}-${project.version}/WEB-INF/classes/log4j.dev.properties" tofile="${project.build.directory}/${project.name}-${project.version}/WEB-INF/classes/log4j.properties" /> <move file="${project.build.directory}/$