Actually, keep configuration where it was under executions, just add the goals/goal to execution and it works:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.1</version> <executions> <execution> <phase>deploy</phase> <goals> <goal>run</goal> </goals> <configuration> <tasks> <echo message="Entering build.xml"/> <ant antfile="build.xml" target="svn.commit" inheritAll="false"/> </tasks> </configuration> </execution> </executions> </plugin> Seems like bad doco on the plugin usage page. jeff Doug Tanner-2 wrote: > > Answer, apparently configuration needs to be outside the execution tags: > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-antrun-plugin</artifactId> > <version>1.1</version> > <configuration> > <phase>deploy</phase> > <goals> > <goal>run</goal> > </goals> > <tasks> > <echo message="Entering build.xml"/> > <ant antfile="build.xml" target="svn.commit" inheritAll="false"/> > </tasks> > </configuration> > <executions> > <execution> > <phase>deploy</phase> > <goals> > <goal>run</goal> > </goals> > </execution> > </executions> > </plugin> > > > Doug Tanner > > > > > > **************************************************************************************** > BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is > intended only for the individual or entity to which it is addressed and > may contain information that is confidential and protected by law. > Unauthorized review, use, disclosure, or dissemination of this > communication or its contents in any way is prohibited and may be > unlawful. If you are not the intended recipient or a person responsible > for delivering this message to an intended recipient, please notify the > original sender immediately by e-mail or telephone, return the original > message to the original sender or to [EMAIL PROTECTED], and > destroy all copies or derivations of the original message. Thank you. > (BFeComNote Rev. 08/01/2005) > *************************************************************************************** > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Tasks-aren%27t-run-for-the-maven-antrun-plugin-tf3608756s177.html#a10226093 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]