TL;DR: No

Long version:

A custom phase can only be defined in the scope of a custom lifecycle.

The command line does not provide a mechanism to access the phases of
custom lifecycles directly.

It may be possible to reference a lifecycle from one plugin in a different
plugin, I have not checked, but it is safest to assume that custom
lifecycles are scoped to the plugin within which they are defined.

On 23 August 2012 13:35, Billy Newman <[email protected]> wrote:

> Sorry if this is a dumb question but I cannot find much on the topic.
>
> I need a phase between  install and deploy. Ie maybe a pre-deploy or
> prepare-deploy. I would like to do some checks in all poms before the
> artifacts get deployed.
>
> I think custom phase is possible if you write your own plugin but I do not
> need my own plugin I just want to attach some existing plugins to a
> 'pre-deploy' phase
>
> Sent from my iPhone
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to