nbm:branding
Full name:
org.codehaus.mojo:nbm-maven-plugin:3.7:branding
Description:
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.
Attributes:
- Requires a Maven project to be executed.
- Binds by default to the lifecycle phase: package.
Required Parameters
| Name |
Type |
Since |
Description |
| brandingSources |
File |
- |
Location of the branded resources.
|
| cluster |
String |
- |
cluster of the branding. Default value is: extra. |
| nbmBuildDir |
File |
- |
directory where the the binary content is created.
|
Optional Parameters
| Name |
Type |
Since |
Description |
| brandingToken |
String |
- |
The branding token used by the application. Required unless
nbmBuildDir does not exist and the mojo is thus
skipped.
|
Parameter Details
brandingSources:
Location of the branded resources.
- Type: java.io.File
- Required: Yes
- Expression: ${basedir}/src/main/nbm-branding
brandingToken:
The branding token used by the application. Required unless
nbmBuildDir does not exist and the mojo is thus
skipped.
- Type: java.lang.String
- Required: No
- Expression: ${netbeans.branding.token}
cluster:
cluster of the branding.
- Type: java.lang.String
- Required: Yes
- Default: extra
nbmBuildDir:
directory where the the binary content is created.
- Type: java.io.File
- Required: Yes
- Expression: ${project.build.directory}/nbm