Repository Management with Nexus
Chapter 21. Developing Nexus Plugins

Chapter 21. Developing Nexus Plugins

Among the many benefits of using an technology with an open source core is the ability to customize behaviour and create extensions. To this end, Sonatype has spent a great deal of time designing an intuitive Plugin API that will allow you to take Nexus where you need it to go. This chapter summarizes some of these extension points and presents a walk through of how you would start to develop your own Nexus plugins.

Our community has already created a number of compelling and useful plugins, some of which have been integrated into the set of plugins that are distributed with both Nexus Open Source and Nexus Professional. Sonatype tried to make the Plugin API as lightweight and extensible as possible with the following goals in mind:

  • Providing a clear set of extension points for plugin developers
  • Providing isolated plugin classpaths to avoid compatibility issues between plugins and to prevent a plugin from disturbing another, unrelated part of Nexus.
  • Giving developers the ability to load and unload Nexus plugins at runtime