.packageScannerConfiguration(scannerConfig)
.hotDeployPollingFrequency(PLUGIN_UPDATE_FREQUENCY, TimeUnit.SECONDS)
.hostComponentProvider(host).moduleDescriptorFactory(modules).osgiPersistentCache(pluginCache).build();
// Start the plugin framework
this.plugins = new AtlassianPlugins(config);
addPluginUpdateEvent(this);
plugins.start();
CoreLogger.LOGGER.info("Plugin System is started.");
}