How to find the plugin goals for mvn nbm plugin.
Running this command on nbm plugin should display the available goals. This is not specific to nbm and should work on any maven plugin.
mvn help:describe -Dplugin=nbm -Dmedium=true
Here is the goals available for maven nbm plugin version 3.7
Name: NBM Maven Plugin
Description: Maven plugin for creating NetBeans modules. It defines a custom
lifecycle called 'nbm'. During packaging, the module JAR is enhanced with
NetBeans-specific manifest entries and, along with other required files,
packed into a *.nbm file, ready for distribution. Additionally the plugin
provides aggregator goals to create an update site or cluster for your module
projects.
Group Id: org.codehaus.mojo
Artifact Id: nbm-maven-plugin
Version: 3.7
Goal Prefix: nbm
This plugin has 13 goals:
nbm:autoupdate
Description: Create the NetBeans auto update site definition.nbm:branding
Description: Package branding resources for NetBeans platform/IDE basedapplication. 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:build-installers
Description: (no description available)nbm:cluster
Description: Create the NetBeans module clusters from reactor.Semi-deprecated; used only for standalone modules and 'suites'.
nbm:cluster-app
Description: Create the NetBeans module clusters/application for the'nbm-application' packaging projects
nbm:help
Description: Display help information on nbm-maven-plugin.Call
mvn nbm:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details.
nbm:manifest
Description: Goal for generating NetBeans module system specific manifestentries, part of 'nbm' lifecycle/packaging. In order to have the generated
manifest picked up by the maven-jar-plugin, one shall add the following
configuration snippet to maven-jar-plugin.
<plugin> <groupid>org.apache.maven.plugins</groupid> <artifactid>maven-jar-plugin</artifactid> <version>2.2</version> <configuration> <usedefaultmanifestfile>true</usedefaultmanifestfile> </configuration> </plugin>
nbm:nbm
Description: Create the NetBeans module artifact (nbm file), part of 'nbm'lifecycle/packaging.
nbm:populate-repository
Description: A goal for identifying NetBeans modules from the installationand populating 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://bits.netbeans.org/maven2/, it contains API
artifacts for multiple releases.
http://bits.netbeans.org/netbeans/trunk/maven-snapshot/ may also be used
for SNAPSHOT artifacts if you wish to test development builds.
See this HOWTO on how to generate the NetBeans binaries required by this
goal.
Compatibility Note: The 3.0+ version puts all unrecognized, non-module, 3rd
party jars in the org.netbeans.external group and adds them as dependencies
to respective modules. That can cause backward incompatibility with earlier
versions which generated incomplete (different) maven metadata.
nbm:run-ide
Description: Run NetBeans IDE with additional custom module clusters, to beused in conjunction with nbm:cluster. Semi-deprecated; used only for
standalone modules and 'suites'.
nbm:run-platform
Description: Run a branded application on top of NetBeans Platform. To beused with projects with nbm-application packaging only and the project
needs to be built first.
nbm:standalone-zip
Description: Create a standalone application out of the composed clustersof nbm-application
No comments:
Post a Comment