public void initialize() throws InitializationException { logInitialize(); artifactPackagingMapper.setPropertiesFile( new File( nexusConfiguration.getConfigurationDirectory(), MAPPING_PROPERTIES_FILE ) ); // load locally present plugins getLogger().info( "Activating locally installed plugins..." ); Collection<PluginManagerResponse> activationResponse = nexusPluginManager.activateInstalledPlugins(); for ( PluginManagerResponse response : activationResponse ) { if ( response.isSuccessful() ) { getLogger().info( response.formatAsString( getLogger().isDebugEnabled() ) ); } else { getLogger().warn( response.formatAsString( getLogger().isDebugEnabled() ) ); } } applicationStatusSource.setState( SystemState.STOPPED ); applicationStatusSource.getSystemStatus().setOperationMode( OperationMode.STANDALONE ); applicationStatusSource.getSystemStatus().setInitializedAt( new Date() ); eventBus.post( new NexusInitializedEvent( this ) ); }