public void execute(RuntimeTaskContext context) throws OperationFailedException {
ArquillianService.addService(context.getServiceTarget());
bootContext.addDeploymentProcessor(Phase.PARSE, Phase.PARSE_ARQUILLIAN_RUNWITH, new ArquillianRunWithAnnotationProcessor());
bootContext.addDeploymentProcessor(Phase.INSTALL, Phase.INSTALL_ARQUILLIAN_DEPLOYMENT, new ArquillianDeploymentProcessor());
bootContext.addDeploymentProcessor(Phase.DEPENDENCIES, Phase.DEPENDENCIES_ARQUILLIAN,
new ArquillianDependencyProcessor());
resultHandler.handleResultComplete();
}
});
} else {
resultHandler.handleResultComplete();