Repository Management with Nexus

19.1. Managing Nexus Plugins

All plugins supplied by Sonatype are installed as part of the default configuration and can be found in $NEXUS_HOME/nexus/WEB-INF/plugin-repository. Most plugins are enabled by default.

Some plugins expose a capability as documented in Section 6.6, “Accessing and Configuring Capabilities” and can therefore be enabled, disabled and otherwise configured in the capability administration. The branding plugin or the outreach plugin are examples of plugins exposing capabilities.

Note

Prior to Nexus 2.7 optional plugins supplied by Sonatype can be found in the directory $NEXUS_HOME/nexus/WEB-INF/optional-plugins. To install any of these simply copy the folder containing the desired plugin into $NEXUS_HOME/nexus/WEB-INF/plugin-repository. When updating Nexus redo the install of any optional plugins using the newest version shipping with the download of the new Nexus version. Any configuration of the plugin will be preserved from one version to the other.

Plugins supplied by third parties or authored by yourself are installed by copying the folder with the plugin code into sonatype-work/nexus/plugin-repository or extracting the plugin bundle zip file in that folder.

After a restart of Nexus the new plugins will be active and ready to use. Upgrades are done by shutting down Nexus, copying the newer plugin into the folder, removing the older one and restarting Nexus.

Capability based plugins can be disabled in the capability administration. Otherwise plugins can be removed by deleting the respective folder in the plugin-repository and restarting Nexus.