In my opinion, if you want to produce a 'one shot' action and you dont care about reusability - which is the case of your touch plugin- you may run an antrun plugin inside a phase. Else, if you want to produce a reusable action, you should work to a mojo plugin
Alexandre Saloucious wrote: > > Hi, > > i would like to know what is recommanded by Maven Team when a procces does > not fit with any plugins/goals provides by Maven. > > Just for example, if i want to touch a file, what is better : create a > my.company.plugin.touch or add a simple antrun task ? > > Thanks > -- View this message in context: http://www.nabble.com/Plugins-vs-Ant-tasks-tp16197720s177p16197917.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]
