erlang:compile

Full name:

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

Description:

Compile the erlang sources.

Attributes:

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

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.
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.

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

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}/ebin/