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.

Mojo Attributes :

  • Requires a Maven 2.0 project to execute.
  • Executes as an aggregator plugin.
  • Requires dependency resolution of artifacts in scope: runtime

Required Parameters

Name Type Description
brandingToken String The branding token for the application based on NetBeans platform.
clusterBuildDir String directory where the module(s)' netbeans cluster(s) are located. is related to nbm:cluster goal. Default value is ${project.build.directory}/netbeans_clusters.
enabledClusters List List of enabled clusters. At least platform cluster needs to be included.
netbeansInstallation String directory where the the NetBeans platform/IDE installation is, denotes the root directory of netbeans installation.
netbeansUserdir String netbeans user directory for the executed instance. Default value is ${project.build.directory}/userdir.

Optional Parameters

Name Type Description
additionalArguments String additional command line arguments. Eg. -J-Xdebug -J-Xnoagent -J-Xrunjdwp:transport=dt_socket,suspend=n,server=n,address=8888 can be used to debug the IDE.

Parameter Details

additionalArguments

additional command line arguments. Eg. -J-Xdebug -J-Xnoagent -J-Xrunjdwp:transport=dt_socket,suspend=n,server=n,address=8888 can be used to debug the IDE.

  • Type : java.lang.String
  • Required : No
  • Expression : ${netbeans.run.params}

brandingToken

The branding token for the application based on NetBeans platform.

  • Type : java.lang.String
  • Required : Yes
  • Expression : ${netbeans.branding.token}

clusterBuildDir

directory where the module(s)' netbeans cluster(s) are located. is related to nbm:cluster goal.

  • Type : java.lang.String
  • Required : Yes
  • Default : ${project.build.directory}/netbeans_clusters

enabledClusters

List of enabled clusters. At least platform cluster needs to be included.

  • Type : java.util.List
  • Required : Yes

netbeansInstallation

directory where the the NetBeans platform/IDE installation is, denotes the root directory of netbeans installation.

  • Type : java.lang.String
  • Required : Yes
  • Expression : ${netbeans.installation}

netbeansUserdir

netbeans user directory for the executed instance.

  • Type : java.lang.String
  • Required : Yes
  • Expression : ${netbeans.userdir}
  • Default : ${project.build.directory}/userdir