// ModuleType config = ModuleDocument.Factory.parse(plan).getModule();
Maven2Repository repository = new Maven2Repository(localRepo);
new DependencyManager(bundleContext, Collections.<Repository>singleton(repository), null);
GBeanBuilder gBeanBuilder = new GBeanBuilder(null, null);
ServiceConfigBuilder builder = new ServiceConfigBuilder(null, Collections.<Repository>singleton(repository), Collections.<NamespaceDrivenBuilder>singleton(gBeanBuilder), new Jsr77Naming(), bundleContext);
ConfigurationStore targetConfigurationStore = new NullConfigurationStore() {
public File createNewConfigurationDir(Artifact configId) throws ConfigurationAlreadyExistsException {
StringBuilder configurationPathBuilder = new StringBuilder("repository");
configurationPathBuilder.append(File.separator).append(configId.getGroupId().replace('.', '/'));