You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Douglas Ferguson <do...@epsiia.com> on 2006/09/13 20:38:59 UTC
Plugins & Executions
If you are define a plugin in your pom that isn�t binded to a lifecyle
phase, and then add executions to the plugin.
When will this execute?
I was thinking that it would be great if you can define 2 executions
with separate configs and then somehow instruct the commandline to run
the specific execution.
I guess you could do this with profiles�
RE: Plugins & Executions
Posted by Douglas Ferguson <do...@epsiia.com>.
Yeah.. I know but I was curious if you didn't define a phase.
It will use the configuration when you run it on the commandline.
However, what does it do if there are 2 executions that aren't bound to any phase?
-----Original Message-----
From: Edwin Punzalan [mailto:epunzalan@exist.com]
Sent: Thursday, September 14, 2006 10:12 AM
To: Maven Users List
Subject: Re: Plugins & Executions
There is a <phase> in <execution>... you can put it there.
Douglas Ferguson wrote:
> If you are define a plugin in your pom that isnt binded to a lifecyle
> phase, and then add executions to the plugin.
>
>
>
> When will this execute?
>
>
>
> I was thinking that it would be great if you can define 2 executions
> with separate configs and then somehow instruct the commandline to run
> the specific execution.
>
>
>
> I guess you could do this with profiles
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Plugins & Executions
Posted by Edwin Punzalan <ep...@exist.com>.
There is a <phase> in <execution>... you can put it there.
Douglas Ferguson wrote:
> If you are define a plugin in your pom that isn’t binded to a lifecyle
> phase, and then add executions to the plugin.
>
>
>
> When will this execute?
>
>
>
> I was thinking that it would be great if you can define 2 executions
> with separate configs and then somehow instruct the commandline to run
> the specific execution.
>
>
>
> I guess you could do this with profiles…
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org