Plugin documentation

Goals available:

Goal Description
nbm:run-platform Run a branded application on top of NetBeans Platform with additional custom module clusters, to be used in conjunction with nbm:cluster.
nbm:cluster Create the Netbeans module clusters from reactor
nbm:directory Create the Netbeans module directory structure, a prerequisite for nbm creation and cluster creation.

nbm:jar Goal for updating the artifact jar with netbeans specific entries, part of "nbm" lifecycle/packaging.
nbm:populate-repository A goal for identifying netbeans modules from the installation and populationg the local repository with them. Optionally you can also deploy to a remote repository.

If you are looking for an existing remote repository for netbeans artifacts, check out http://deadlock.netbeans.org/maven2/ it contains API artifacts for 4.1, 5.0 and 5.5 releases. 6.0 Milestones and Betas also included.

nbm:branding Package branding resources for NetBeans platform/IDE based application. The format of branding resources is the same as in NetBeans Ant-based projects. The src/main/nbm-branding folder of the project is assumed to contain the branding content. Within the directory, the following folder structure is assumed:
  • 1. pick the IDE/platform module which contents you want to brand. eg. org-openide-windows.jar
  • 2. locate the jar within the IDE/platform installation and it's cluster, eg. modules/org-openide-windows.jar
  • 3. create the same folder structure in src/main/nbm-branding, make folder with the module's jar name as well. eg. create folder by name modules/org-openide-windows.jar
  • 4. within that folder place your branding modifications at the same location, as if they were withn the jar, eg. org/openide/windows/ui/Bundle.properties and place the changed bundle keys there.
nbm:autoupdate Create the Netbeans autupdate site
nbm:run-ide Run NetBeans IDE with additional custom module clusters, to be used in conjunction with nbm:cluster.
nbm:nbm Create the Netbeans module artifact (nbm file), part of "nbm" lifecycle/packaging.