Tony Truong wrote: > >>mvn foo:bar > ... > [INFO] [clean:clean] > ... > [INFO] [goal1:goal1] > ... > [INFO] [goal2:goal2] > ... > [INFO] [goal3:goal3] > ... > > Is it possible for m2 to do this? If so, how? >
I guess you can't do that out of the box in Maven 2. Executing maven foo:bar, is equivalent to calling the foo plugin with the bar mojo. So I guess you would have to create a scripting (ant) plugin. That's not that difficult, and it's well documented here: http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html Good luck! Denis. -- View this message in context: http://www.nabble.com/-m2--Calling-goals-outside-a-plugin-tf1970783.html#a5462881 Sent from the Maven - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]