Example Plugins Using UI
The source code of nexus-oss is the best source of current techniques. uSe the branch relevant for your version of Nexus.
We have an issue to create a bare-bones example plugin adding basic user interface elements. See NEXUS-6434. Contributions accepted.
Upgrading Plugin UI from Nexus 2.7.x to Nexus 2.8.x+
The Atlas Plugin should be a good example of a modern plugin.
Make an implementation:
Then add resources in a pattern similar to:
An example changeset of converting a Nexus 2.7.x plugin to support Nexus 2.8 and 2.9 is here:
What about Nexus Future (3.x)?
The UI has changed dramatically in NX 3.0 and we will write examples and docs on how to build UI plugins for NX 3.0 near it's release date.
I thought I will see something like
In the source code, but it is not there. I suppose I need to somehow tell Nexus to make the plugin "required" but I was not able to find a way how to do it. Any thoughts? Thank you for your response.
First make sure your plugin is loading properly using the plugin console or nexus.log.
It also important to have your pom.xml setup correctly with nexus plugin bundle plugin execution.
And of course the contents and name of the js file in the plugin src/main/resources directory should match the artifactid + "-boot".
If you are still stuck, submit your plugin project to https://support.sonatype.com and we'll try to help.
I contacted Sonatype support as suggested by Peter and they found the error in my code (the same error has the Tycho unzip plugin). My problem was a dependency in pom.xml:
The bold line was missing.
We are closing this article for comments.
If you have a support license, please contact us by submitting a support ticket.
If you do not have a support license, please use our Nexus Users List or our other free support resources.