cxx:launch

Full name:

org.codehaus.mojo:cxx-maven-plugin:0.0.6-SNAPSHOT:launch

Description:

Goal which Launch an external executable.

Attributes:

  • Requires a Maven project to be executed.

Required Parameters

Name Type Since Description
executable String 0.0.4 The executable. Can be a full path or a the name executable. In the latter case, the executable must be in the PATH for the execution to work.
User property is: launch.executable.

Optional Parameters

Name Type Since Description
arguments List 0.0.4 Can be of type <argument> or <classpath> Can be overriden using "cxx.args" env. variable
commandArgs String - Arguments for the executed program
User property is: launch.args.
environmentVariables Map 0.0.4 Environment variables to pass to the executed program.
excludeOS List 0.0.4 Os for which command shall not be executed os name match is java.lang.System.getProperty( "os.name" )
includeOS List 0.0.4 Os for which command shall be executed os name match is java.lang.System.getProperty( "os.name" )
inputStream File 0.0.5 The InputStream Location.
User property is: launch.inputStream.
outputStreamErr File 0.0.5 The OutputStreamErr Location.
User property is: launch.outputStreamErr.
outputStreamOut File 0.0.5 The OutputStreamOut Location.
User property is: launch.outputStreamOut.
successCodes List 0.0.4 Exit codes to be resolved as successful execution for non-compliant applications (applications not returning 0 for success).
workingDir File 0.0.4 The current working directory. Optional. If not specified, basedir will be used.
User property is: launch.workingdir.

Parameter Details

arguments:

Can be of type <argument> or <classpath> Can be overriden using "cxx.args" env. variable
  • Type: java.util.List
  • Since: 0.0.4
  • Required: No

commandArgs:

Arguments for the executed program
  • Type: java.lang.String
  • Required: No
  • User Property: launch.args

environmentVariables:

Environment variables to pass to the executed program.
  • Type: java.util.Map
  • Since: 0.0.4
  • Required: No

excludeOS:

Os for which command shall not be executed os name match is java.lang.System.getProperty( "os.name" )
  • Type: java.util.List
  • Since: 0.0.4
  • Required: No

executable:

The executable. Can be a full path or a the name executable. In the latter case, the executable must be in the PATH for the execution to work.
  • Type: java.lang.String
  • Since: 0.0.4
  • Required: Yes
  • User Property: launch.executable

includeOS:

Os for which command shall be executed os name match is java.lang.System.getProperty( "os.name" )
  • Type: java.util.List
  • Since: 0.0.4
  • Required: No

inputStream:

The InputStream Location.
  • Type: java.io.File
  • Since: 0.0.5
  • Required: No
  • User Property: launch.inputStream

outputStreamErr:

The OutputStreamErr Location.
  • Type: java.io.File
  • Since: 0.0.5
  • Required: No
  • User Property: launch.outputStreamErr

outputStreamOut:

The OutputStreamOut Location.
  • Type: java.io.File
  • Since: 0.0.5
  • Required: No
  • User Property: launch.outputStreamOut

successCodes:

Exit codes to be resolved as successful execution for non-compliant applications (applications not returning 0 for success).
  • Type: java.util.List
  • Since: 0.0.4
  • Required: No

workingDir:

The current working directory. Optional. If not specified, basedir will be used.
  • Type: java.io.File
  • Since: 0.0.4
  • Required: No
  • User Property: launch.workingdir