nbm:run-platform

Full name:

org.codehaus.mojo:nbm-maven-plugin:3.14:run-platform

Description:

Run a branded application on top of NetBeans Platform. To be used with projects with nbm-application packaging only and the project needs to be built first.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: runtime.

Required Parameters

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

Optional Parameters

Name Type Since Description
additionalArguments String - additional command line arguments passed to the application. can be used to debug the IDE.
User property is: netbeans.run.params.
debugAdditionalArguments String 3.11 Attach a debugger to the application JVM. If set to "true", the process will suspend and wait for a debugger to attach on port 5005. If set to some other string, that string will be appended to the additionalArguments, allowing you to configure arbitrary debug-ability options (without overwriting the other options specified through the additionalArguments parameter).
User property is: netbeans.run.params.debug.

Parameter Details

additionalArguments:

additional command line arguments passed to the application. can be used to debug the IDE.
  • Type: java.lang.String
  • Required: No
  • User Property: netbeans.run.params

brandingToken:

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

debugAdditionalArguments:

Attach a debugger to the application JVM. If set to "true", the process will suspend and wait for a debugger to attach on port 5005. If set to some other string, that string will be appended to the additionalArguments, allowing you to configure arbitrary debug-ability options (without overwriting the other options specified through the additionalArguments parameter).
  • Type: java.lang.String
  • Since: 3.11
  • Required: No
  • User Property: netbeans.run.params.debug

netbeansUserdir:

NetBeans user directory for the executed instance.
  • Type: java.io.File
  • Required: Yes
  • User Property: netbeans.userdir
  • Default: ${project.build.directory}/userdir

outputDirectory:

output directory where the the NetBeans application is created.
  • Type: java.io.File
  • Required: Yes
  • Default: ${project.build.directory}