log.debug("module=" + module);
File moduleArchive = new File(new URI(getDeployURL(module).toString()));
assertTrue(moduleArchive.exists());
// Deploy the test war
ProgressObject progress = manager.distribute(targets, moduleArchive, deploymentPlan);
DeploymentStatus status = progress.getDeploymentStatus();
waitForCompletion(status);
assertEquals(status.getMessage(), StateType.COMPLETED, status.getState());