cmd = annotator.merge(cmd, repository, classLoader);
}
if (cmd != null) {
cmd.validate();
cmd = (new Merger()).mergeConnectorWithCommonIronJacamar(ijmd, cmd);
<BUG>}
final ResourceAdapterDeploymentService raDeployementService = new ResourceAdapterDeploymentService(connectorXmlDescriptor, cmd, ijmd, module);
</BUG>
final ServiceTarget serviceTarget = phaseContext.getServiceTarget();
<BUG>serviceTarget.addService(ConnectorServices.RESOURCE_ADAPTER_DEPLOYER_SERVICE_PREFIX.append(connectorXmlDescriptor.getDeploymentName()), raDeployementService)
.addDependency(ConnectorServices.IRONJACAMAR_MDR, MetadataRepository.class, raDeployementService.getMdrInjector())</BUG>
.addDependency(ConnectorServices.RA_REPOSISTORY_SERVICE, ResourceAdapterRepository.class, raDeployementService.getRaRepositoryInjector())

cmd = annotator.merge(cmd, repository, classLoader);
}
if (cmd != null) {
cmd.validate();
cmd = (new Merger()).mergeConnectorWithCommonIronJacamar(ijmd, cmd);
}
final ServiceName deployerServiceName = ConnectorServices.RESOURCE_ADAPTER_DEPLOYER_SERVICE_PREFIX.append(connectorXmlDescriptor.getDeploymentName());
final ResourceAdapterDeploymentService raDeployementService = new ResourceAdapterDeploymentService(connectorXmlDescriptor, cmd, ijmd, module, null);
final ServiceTarget serviceTarget = phaseContext.getServiceTarget();
serviceTarget.addService(deployerServiceName, raDeployementService)
.addDependency(ConnectorServices.IRONJACAMAR_MDR, MetadataRepository.class, raDeployementService.getMdrInjector())
.addDependency(ConnectorServices.RA_REPOSISTORY_SERVICE, ResourceAdapterRepository.class, raDeployementService.getRaRepositoryInjector())
