throw new RuntimeException("Failed to get manifest for deployment " + deploymentRoot, e);
}
// Execute the deployment chain
final DeploymentChainProvider deploymentChainProvider = DeploymentChainProvider.INSTANCE;
final DeploymentChain deploymentChain = deploymentChainProvider.determineDeploymentChain(deploymentUnitContext);
log.debugf("Executing deployment '%s' with chain: %s", deploymentName, deploymentChain);
if(deploymentChain == null)
throw new RuntimeException("Failed determine the deployment chain for deployment root: " + deploymentRoot);
try {
deploymentChain.processDeployment(deploymentUnitContext);