I just found that this is a bug:
http://jira.codehaus.org/browse/MANTRUN-51 In a multi-module project, the ant plugin dependencies are lost. The 'workaround' is the place the ant plugin dependencies in the 1st module despite if you actually need the ant plugin there, simply to load the dependencies, such that when you get to the later module that needs them, they are loaded. -- View this message in context: http://www.nabble.com/running-optional-ant-tasks-with-maven-antrun-plugin-tp15842721s177p15956621.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]