Run maven twice:

  mvn clean install
  if (success) mvn deploy

Build server software like Luntbuild can automate this for you.

-Max

[EMAIL PROTECTED] wrote:
I have a multi-project build. I run a "mvn clean deploy" build every
night. Sometimes the builds fail with one of the modules and I end up
with an inconsistent set of deployed modules. How can I delay the
deployment of the modules so that the deploy happens only when all of
the modules have sucessfully completed the install phase of the
life-cycle. This way, I always have a consistent set of modules.

Thanks

-Moiz


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to