[m2] Call a plugin goal from another mojo

2005-11-21 Thread Bernhard Daubner
I'm looking for a possibility to call within a maven plugin a goal of another plugin (within the same maven project). For example I want to be able to write a Maven2 Plugin that calls the Maven-SCM-Plugin to check out a certain revision of the source code and then calls a Metrics Plugin to do

Maven2: Call a Mojo from another Mojo

2005-11-16 Thread Bernhard Daubner
Could somebody please point me to an example where a goal from a Maven2 Mojo is called from another Mojo? I'am especially interested in how the parameters are given over. I would like to write a Maven2 Plugin that calls the Maven-SCM-Plugin to check out a certain revision of the source code an