@Override
public void start(StartContext context) throws StartException {
BundleContext syscontext = injectedSystemContext.getValue();
// Register the MavenArtifactProvider
ArtifactProviderPlugin provider = new MavenArtifactProvider();
syscontext.registerService(ArtifactProviderPlugin.class.getName(), provider, null);
// Create the RepositoryCachePlugin
File dataDir = injectedServerEnvironment.getValue().getServerDataDir();
File cacheFile = new File(dataDir.getPath() + File.separator + "repository");
RepositoryCachePlugin cache = new FileBasedRepositoryCachePlugin(cacheFile);