You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Blake Martin <bl...@gmail.com> on 2008/10/13 17:39:25 UTC

Run a single plugin execution

Is it possible to run a single execution of a plugin by passing its id in
somehow? For example, I'd like to run some SQL scripts as a goal, rather
than as part of my lifecycle, but there are many executions and I only want
to run the scripts associated with a particular execution.

Re: Run a single plugin execution

Posted by Blake Martin <bl...@gmail.com>.
So, to paraphrase, "no, it can't be done"

Maven 1 and Ant have flexibility that Maven 2 lacks, particularly in the
form of goal-writing.

On Mon, Oct 13, 2008 at 2:54 PM, Wayne Fay <wa...@gmail.com> wrote:

> Profiles are probably part of (or the entire) the answer.
>
> Wayne
>
> On Mon, Oct 13, 2008 at 8:39 AM, Blake Martin <bl...@gmail.com>
> wrote:
> >
> > Is it possible to run a single execution of a plugin by passing its id in
> > somehow? For example, I'd like to run some SQL scripts as a goal, rather
> > than as part of my lifecycle, but there are many executions and I only
> want
> > to run the scripts associated with a particular execution.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Run a single plugin execution

Posted by Wayne Fay <wa...@gmail.com>.
Profiles are probably part of (or the entire) the answer.

Wayne

On Mon, Oct 13, 2008 at 8:39 AM, Blake Martin <bl...@gmail.com> wrote:
>
> Is it possible to run a single execution of a plugin by passing its id in
> somehow? For example, I'd like to run some SQL scripts as a goal, rather
> than as part of my lifecycle, but there are many executions and I only want
> to run the scripts associated with a particular execution.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org