The Maven Faq says this: The way to 'call goals' in maven 2 is using plugin. I think what you should do is write a plugin that comprises of other plugins (goals) that you wish to call with their respective phase. So when you call this plugin (say during compile phase), it in turn will call your 'configured plugins' to do their work. This has the same effect of specifying multiple goals.
It says when you call your plugin it will call your "configured plugins" to do their work. I'm wondering where I need to specifiy my configured plugins. Do they have to be in the project's pom.xml that im running the plugin for, or do I put the configured plugin settings in my plugins pom.xml? On 11/8/06, Matt Campbell <[EMAIL PROTECTED]> wrote:
I'm having some trouble understanding how to get my plugin I created to execute specific plugins that it depends on. When my plugin executes I need it to run compile and ear on the project. My plugin than takes the ear, deploys it to a server, and runs a few scripts. Is there a way I can tell my plugin to run compile and ear beforehand without having to specify the plugin properties in my projects pom.xml?