I configured the build server to do
clean javadoc:jar deploy site-deploy
Now if site-deploy fails (because the site did not build, or somebody used the wrong parent pom), the build server shows a failed build, but the deploy was already applied.
Is there a way to "combine" deploy and site-deploy in a transactional way?
Or should I use a different chain of goals/phases (e.g. install before site-deploy)?