Define some tasks only if we actually can deploy. Otherwise buildbot fails when building the javadocs since it doesn't know the deploy credentials (and doesn't have to).
Define some tasks only if we actually can deploy. Otherwise buildbot fails when building the javadocs since it doesn't know the deploy credentials (and doesn't have to).

git-svn-id: d9b8539636d91aff9cd33ed5cd52a0cf73394897@1235254 13f79535-47bb-0310-9956-ffa450edef68

agileowl/tapestry-5,apache/tapestry-5,apache/tapestry-5,apache/tapestry-5,apache/tapestry-5,agileowl/tapestry-5,apache/tapestry-5,agileowl/tapestry-5