erlang:test-compile

Full name:

eu.lindenbaum:maven-erlang-plugin:2.0.0:test-compile

Description:

Compile erlang test sources and recompile erlang sources with the options debug_info, export_all and {d, 'TEST'}. This will also compile the supporting erlang sources provided along with the plugin.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Binds by default to the lifecycle phase: test-compile.

Optional Parameters

Name Type Since Description
cookie String - The cookie to use for the java and the backend node.
erlCommand String - The erlang command used to start an erlang backend node. The path must exist and the destination must be executable. If the given command does not fullfill these requirements erl is used (assuming the command is part of the hosts PATH). The path must not contain any arguments.
skipTests boolean - Setting this to true will skip the test compilation.
Default value is: false.
testCompilerOptions String - Additional compiler options (comma separated) for test compilation that are directly passed to compile:file/2, e.g. "{d, Macro}, nowarn_unused_function". Note: The user may not specifiy one of the report options since the Mojo itself uses the return option internally. Warnings and Errors will be printed without specifying extra options.

Parameter Details

cookie:

The cookie to use for the java and the backend node.
  • Type: java.lang.String
  • Required: No
  • Expression: ${cookie}

erlCommand:

The erlang command used to start an erlang backend node. The path must exist and the destination must be executable. If the given command does not fullfill these requirements erl is used (assuming the command is part of the hosts PATH). The path must not contain any arguments.
  • Type: java.lang.String
  • Required: No
  • Expression: ${erlCommand}

skipTests:

Setting this to true will skip the test compilation.
  • Type: boolean
  • Required: No
  • Expression: ${skipTests}
  • Default: false

testCompilerOptions:

Additional compiler options (comma separated) for test compilation that are directly passed to compile:file/2, e.g. "{d, Macro}, nowarn_unused_function". Note: The user may not specifiy one of the report options since the Mojo itself uses the return option internally. Warnings and Errors will be printed without specifying extra options.
  • Type: java.lang.String
  • Required: No
  • Expression: ${testCompilerOptions}