Repository Management with Nexus
21.8. Nexus Plugin Descriptor Maven Plugin

21.8. Nexus Plugin Descriptor Maven Plugin

Nexus plugins have a custom packaging "nexus-plugin" which is introduced by the app-lifecycle-maven-plugin. A "nexus-plugin" packaged plugin:

  • is a plain JAR
  • has a META-INF/nexus/plugin.xml embedded Nexus Plugin Metadata embedded
  • has static resources embedded into the plugin JAR

The plugin introduces a new project path (i.e. src/main/static-resources). Static resources such as JavaScript files, images, and CSS should be located in this folder and will be packaged appropriately.