Overview
HOWTOs
Deprecated

nbm:build-mac

Full name:

org.apache.netbeans.utilities:nbm-maven-plugin:4.7-SNAPSHOT:build-mac

Description:

Builds a macOS application bundle for Mavenized NetBeans application.
Creates the brandingToken.app macOS Application bundle.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: runtime.
  • Binds by default to the lifecycle phase: package.

Required Parameters

Name Type Since Description
brandingToken String - The branding token for the application based on NetBeans platform.
User property is: netbeans.branding.token.
outputDirectory File - output directory.
Default value is: ${project.build.directory}.

Optional Parameters

Name Type Since Description
macAppTitle String - Optional application title to use to replace ${app.title} for value of CFBundleName in the Info.plist file, otherwise brandingTokin is used.
User property is: netbeans.mac.title.
macIconFile File - Optional macOS icon file (in ICNS format) to use for the application bundle to replace the default icon from the harness.
User property is: netbeans.mac.icon.
macInfoplistFile File - Optional macOS Info.plist file to use for the application bundle to replace the one from the harness.

${app.title} is replaced by macAppTitle ${app.name} is replaced by brandingToken ${app.version} is replaced by project.version


User property is: netbeans.mac.info.plist.
macLauncherFile File - Optional macOS native launcher to use for the application bundle to replace the one from the harness.
User property is: netbeans.mac.launcher.
macZipBundle boolean - Zip the macOS app bundle to brandingToken-macOS.zip
Default value is: false.
User property is: netbeans.mac.zipbundle.

Parameter Details

brandingToken:

The branding token for the application based on NetBeans platform.
  • Type: java.lang.String
  • Required: Yes
  • User Property: netbeans.branding.token

macAppTitle:

Optional application title to use to replace ${app.title} for value of CFBundleName in the Info.plist file, otherwise brandingTokin is used.
  • Type: java.lang.String
  • Required: No
  • User Property: netbeans.mac.title

macIconFile:

Optional macOS icon file (in ICNS format) to use for the application bundle to replace the default icon from the harness.
  • Type: java.io.File
  • Required: No
  • User Property: netbeans.mac.icon

macInfoplistFile:

Optional macOS Info.plist file to use for the application bundle to replace the one from the harness.

${app.title} is replaced by macAppTitle ${app.name} is replaced by brandingToken ${app.version} is replaced by project.version

  • Type: java.io.File
  • Required: No
  • User Property: netbeans.mac.info.plist

macLauncherFile:

Optional macOS native launcher to use for the application bundle to replace the one from the harness.
  • Type: java.io.File
  • Required: No
  • User Property: netbeans.mac.launcher

macZipBundle:

Zip the macOS app bundle to brandingToken-macOS.zip
  • Type: boolean
  • Required: No
  • User Property: netbeans.mac.zipbundle
  • Default: false

outputDirectory:

output directory.
  • Type: java.io.File
  • Required: Yes
  • Default: ${project.build.directory}