GeronimoSourceRepository localSourceRepository = new GeronimoSourceRepository(configManager.getRepositories(), configManager.getArtifactResolver());
DownloadResults downloadPoller = new DownloadResults();
pluginInstallerGBean.install(pluginList, localSourceRepository, true, null, null, downloadPoller);
} finally {
kernel.shutdown();
}
} catch (Throwable t) {
t.printStackTrace();
}
}