Thanks, Brett!
Got it.

Brett Porter wrote:

On 5/23/05, Igor Deruga <[EMAIL PROTECTED]> wrote:
I am trying to write a plugin that is performing some post-installation
actions. All that I have is a maven-install-plugin with InstallMojo.java
re-written to suit my needs. Due to completely rewritten execute()
procedure, I have to run my plugin this way: "m2 clean:clean install
myplgn:install". I'd like the original install target to be executed
automaticaly before myplgn:install target. Is there a way to do it?

If you add your plugin configuration to the POM, including a goal for
install, and add:
@phase install
to your mojo, it will call your goal when the install goal is called.
See the previous thread with Matthew for more explanation.

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

Reply via email to