I would like to run a mojo to run after deploy has completed
successfully, to notify some OSGi bundles running in karaf, that they
should update themselves with new deployed snapshots in a maven
repository.

The problem is that the deploy lifecycle phase is the last lifecycle
phase of the default lifecycle
 http://maven.apache.org/ref/3.5.0/maven-core/lifecycles.html

Ie. there is no "post-deploy" lifecycle phase to run my mojo in.

Is there a way to order mojos bound to the same lifecycle, so that my
mojo will only run after maven-deploy-plugin has done its thing?
(Preferrably only run my mojo if deployment has been successful, though
I could live with running it every time)


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

Reply via email to