Mavent AntRun Not Executing Tasks
I encountered similar problems and it only worked when I added the version 1.8 tag. It wouldn't work otherwise. This might help.
Change ant from 1.7 to 1.8 solved my problem.
Andrew had the correct answer in his comments. When I moved my maven-antrun-plugin AS-IS above (with the <target>
instead of <tasks>
) OUT of <pluginManagement>
and into a standalone <plugins>
, my Ant task started executing.
Amazing how many searches of Google and Stackoverflow didn't return the other question before, but now I understand pluginManagement better. Thanks, Andrew!