erlang:test-compile

Full name:

net.sf.maven-erlang:erlang-plugin:1.0-SNAPSHOT:test-compile

Description:

Compile the Erlang sources (with different options) and test cases.

Attributes:

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

Optional Parameters

Name Type Since Description
debugInfo boolean - If debugging information should be included. Default value is: false.
dialyzerOptions String[] - Additional dialyzer options.
dialyzerWarningsAreErrors boolean - If dialyzer warnings are to be considered as errors. Default value is: false.
dialyzerWithDependencies boolean - If dialyzer should be run with the dependencies. This is *much* slower. Default value is: false.
erlPath String - Path to the erlang installation directory.
erlcOptions String[] - Additional compilation options.
erlcTestOptions String[] - Additional compilation options for tests.
eunitPath String - Path to eunit.
forceDialyzer boolean - Set this to 'true' to force running dialyzer, i.e. even if beams are not newer than latest run.
includeDirectory File - Include directory.
inputDirectory File - Source directory.
libDirectory File - Directories where dependencies are unpacked. This directory contains OTP applications (name-version directories, with include and ebin sub directories).
outputDirectory File - Directory where the beam files are created.
testDirectory File - Test sources directory.
testIncludeDirectory File - Test include directory.

Parameter Details

debugInfo :

If debugging information should be included.
  • Type: boolean
  • Required: No
  • Default: false

dialyzerOptions :

Additional dialyzer options.
  • Type: java.lang.String[]
  • Required: No

dialyzerWarningsAreErrors :

If dialyzer warnings are to be considered as errors.
  • Type: boolean
  • Required: No
  • Default: false

dialyzerWithDependencies :

If dialyzer should be run with the dependencies. This is *much* slower.
  • Type: boolean
  • Required: No
  • Default: false

erlPath :

Path to the erlang installation directory.
  • Type: java.lang.String
  • Required: No

erlcOptions :

Additional compilation options.
  • Type: java.lang.String[]
  • Required: No

erlcTestOptions :

Additional compilation options for tests.
  • Type: java.lang.String[]
  • Required: No

eunitPath :

Path to eunit.
  • Type: java.lang.String
  • Required: No

forceDialyzer :

Set this to 'true' to force running dialyzer, i.e. even if beams are not newer than latest run.
  • Type: boolean
  • Required: No
  • Expression: ${forceDialyzer}

includeDirectory :

Include directory.
  • Type: java.io.File
  • Required: No
  • Expression: ${basedir}/src/main/include

inputDirectory :

Source directory.
  • Type: java.io.File
  • Required: No
  • Expression: ${basedir}/src/main/erlang/

libDirectory :

Directories where dependencies are unpacked. This directory contains OTP applications (name-version directories, with include and ebin sub directories).
  • Type: java.io.File
  • Required: No
  • Expression: ${project.build.directory}/lib/

outputDirectory :

Directory where the beam files are created.
  • Type: java.io.File
  • Required: No
  • Expression: ${project.build.directory}/test

testDirectory :

Test sources directory.
  • Type: java.io.File
  • Required: No
  • Expression: ${basedir}/src/test/erlang/

testIncludeDirectory :

Test include directory.
  • Type: java.io.File
  • Required: No
  • Expression: ${basedir}/src/test/include