throw new MojoExecutionException("Just installed plugin cannot be located");
}
TargetModuleID[] ids = new TargetModuleID[]{id};
ProgressObject progress = getDeploymentManager2().start(ids);
DeploymentStatus status = null;
try {
status = waitFor(progress);
} catch (InterruptedException e) {
throw new MojoExecutionException("Interrupted waiting for start completion", e);
}
if (status.isFailed()) {
throw new MojoExecutionException("Failed to start modules: " + status.getMessage());
}
getLog().info("Started module(s):");
logModules(ids, " ");
}