I would also love to hear how to do this.  I've asked on the mailing list
and #maven before but I've never found out a way of doing it.

2009/10/13 kkarad <[email protected]>

>
> Yes, the prefix:goal is not bound to a phase
>
>
>
> Alexander-129 wrote:
> >
> > So you want to change Maven build lifecycle without binding goals to
> > predefined phases?
> >
> > 2009/10/13 kkarad <[email protected]>
> >
> >>
> >> Hi all,
> >>
> >> Do you know how I can call a maven plugin from command line and run a
> >> specific execution by defining its id?
> >>
> >> Something like: mvn clean <prefix>:<goal>:<execution-id-1> deploy
> >> <prefix>:<goal>:<execution-id-2>
> >>
> >> This invocation is supposed to run the plugins in the following order:
> >>
> >> 1. clean
> >> 2. <prefix>:<goal>:<execution-id-1>
> >> 3. deploy
> >> 4. <prefix>:<goal>:<execution-id-2>
> >>
> >> Note: I am aware of the "default-cli" execution id but as you can
> >> understand
> >> from what I want to do I need more control during mvn invocation.
> >>
> >> Thank you in advance,
> >>
> >> Kostas
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Invoke-a-plugin-from-command-line-and-specifing-an-execution-id-tp25870281p25870281.html
> >> Sent from the Maven - Users mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
> >>
> >
> >
> > --
> > Regards,
> > Alexander
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Invoke-a-plugin-from-command-line-and-specifing-an-execution-id-tp25870281p25870892.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to