}
}
Future<ServerDeploymentPlanResult> future = deploymentManager.execute(plan);
try {
ServerDeploymentPlanResult result = future.get(60, TimeUnit.SECONDS);
// FIXME deal with result
} catch (TimeoutException e) {
// This could be a WARN but deployments could validly take over 60 seconds
log.infof("Deployment plan %s did not complete within 60 seconds. Resuming scanning for deployment changes.", plan.getId());
}