final JpaInjectionServices rootJpaInjectionServices = new WeldJpaInjectionServices(deploymentUnit,deploymentUnit.getServiceRegistry());
weldContainer.addWeldService(JpaInjectionServices.class,rootJpaInjectionServices);
final WeldService weldService = new WeldService(weldContainer);
final ServiceName weldServiceName = deploymentUnit.getServiceName().append(WeldService.SERVICE_NAME);
// add the weld service
final ServiceBuilder<WeldContainer> weldServiceBuilder = serviceTarget.addService(weldServiceName, weldService);
weldServiceBuilder.addDependencies(TCCLSingletonService.SERVICE_NAME);