You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mark Hansen <ma...@javector.com> on 2006/08/03 04:07:48 UTC
[M2] Executing a single lifecycle phase
When I do "mvn integration-test" - all the previous lifecycles phases
(e.g., validate, compile, test, etc.) are executed first. Is there a
workaround that I can use to only run the integration-test lifecycle
phase - without all the precursor phases getting invoked?
Thanks,
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] Executing a single lifecycle phase
Posted by Simon Kitching <sk...@apache.org>.
You can run a single goal with
mvn plugin-name:goal-name
However if you've got a phase that has multiple goals bound to it, then
I don't know any way to run all those goals but not the goals bound to
earlier phases.
Regards,
Simon
On Thu, 2006-08-03 at 16:56 +0800, Maria Odea Ching wrote:
> Hi Mark,
>
> I don't think there's a workaround for this. The previous life cycle
> phases are always executed :)
>
> Thanks,
> Odea
>
> Mark Hansen wrote:
>
> > When I do "mvn integration-test" - all the previous lifecycles phases
> > (e.g., validate, compile, test, etc.) are executed first. Is there a
> > workaround that I can use to only run the integration-test lifecycle
> > phase - without all the precursor phases getting invoked?
> >
> > Thanks,
> >
> > Mark
> >
> > ---------------------------------------------------------------------
> > 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
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] Executing a single lifecycle phase
Posted by Maria Odea Ching <oc...@mergere.com>.
Hi Mark,
I don't think there's a workaround for this. The previous life cycle
phases are always executed :)
Thanks,
Odea
Mark Hansen wrote:
> When I do "mvn integration-test" - all the previous lifecycles phases
> (e.g., validate, compile, test, etc.) are executed first. Is there a
> workaround that I can use to only run the integration-test lifecycle
> phase - without all the precursor phases getting invoked?
>
> Thanks,
>
> Mark
>
> ---------------------------------------------------------------------
> 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