maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phillip Hellewell <ssh...@gmail.com>
Subject Phase between install and deploy?
Date Thu, 07 Oct 2010 19:57:08 GMT
I want to use the enforcer plugin to disallow deployment if a certain
property is not set to a certain value.

If I bind to the deploy phase it fails _after_ the actual deploy goal,
so that doesn't work.
If I bind to the install phase it fails after the install, which works
ok but you see an error message for no reason.

What is the general approach to solving this conundrum?  If there were
a "post-install" or a "pre-deploy" phase, that would solve it, but
those don't exist afaik :(

Phillip

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


Mime
View raw message