Here is a MojoInvoker class I wrote that invokes one Mojo from another using 
reflection, I use it to invoke the install plugin from a plugin that handles 
breaking up and installing weblogic shared libraries into the repository. The 
philosphy is that the plugin doing the invoking is familiar with the invoked 
plugin and is responsible for passing parameters accordingly through a map. 
Reflection is used to assign the parameters to the mojo's attributes.

While it's only been tested with the install plugin it might be useful for what 
you want to do and could be broadened out into a general API.

Gerald

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to