erlang:package

Full name:

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

Description:

Package the Erlang project.

Attributes:

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

Optional Parameters

Name Type Since Description
applicationResourceFile String - Application resource file (in src/ directory).
beamDirectory File - Directory where the beam files were created.
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.
edocOptions String[] - Edoc options.
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 - Directory where the source files are located.
libDirectory File - Directories where dependencies are unpacked. This directory contains OTP applications (name-version directories, with include and ebin sub directories).
privDirectory File - Directory where the private files were created.
resourcesDirectory File - Resources directory.
targetDirectory File - Target directory.
useEdoc boolean - Generate edoc documentation. Default value is: false.

Parameter Details

applicationResourceFile :

Application resource file (in src/ directory).
  • Type: java.lang.String
  • Required: No

beamDirectory :

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

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

edocOptions :

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

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 :

Directory where the source files are located.
  • 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/

privDirectory :

Directory where the private files were created.
  • Type: java.io.File
  • Required: No
  • Expression: ${project.build.directory}/priv

resourcesDirectory :

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

targetDirectory :

Target directory.
  • Type: java.io.File
  • Required: No
  • Expression: ${project.build.directory}/${project.build.finalName}

useEdoc :

Generate edoc documentation.
  • Type: boolean
  • Required: No
  • Default: false