Collection repositories = null;
ArtifactResolver artifactResolver = null;
if (enableBootRepo) {
String repository = System.getProperty("Xorg.apache.geronimo.repository.boot.path", "repository");
Maven2Repository bootRepository = new Maven2Repository(new File(getBootDirectory(), repository));
repositories = Collections.singleton(bootRepository);
artifactResolver = new DefaultArtifactResolver(new DefaultArtifactManager(), bootRepository);
} else {
// a bootstrap configuration can not have any dependencies
List dependencies = configurationData.getEnvironment().getDependencies();