}
// Setup the extended framework moduel spec
frameworkIdentifier = ModuleIdentifier.create("org.jboss.osgi.framework.extended");
ModuleSpec.Builder builder = ModuleSpec.build(frameworkIdentifier);
PathFilter all = PathFilters.acceptAll();
// Add a dependency on the default framework module
ModuleIdentifier moduleId = defaultFrameworkModule.getIdentifier();
DependencySpec moduleDep = DependencySpec.createModuleDependencySpec(all, all, moduleLoader, moduleId, false);
builder.addDependency(moduleDep);