erlang:package-release

Full name:

eu.lindenbaum:maven-erlang-plugin:2.1.0:package-release

Description:

This Mojo packages/creates a release .tar.gz using the erlang systools modules. The build can be customized by providing additional options through the tarOptions parameter.

Attributes:

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

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

Setting this to true will include the backend node's erlang emulator into the release package.

Note: The resulting package is then highly system dependent since it contains the erlang emulator (C code) from the backend nodes erlang installation.


Default value is: false.
tarOptions String - Additional options for systools:make_tar/2 (comma separated). Note: The silent option is passed by the plugin, do not overwrite.

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}

includeErts:

Setting this to true will include the backend node's erlang emulator into the release package.

Note: The resulting package is then highly system dependent since it contains the erlang emulator (C code) from the backend nodes erlang installation.

  • Type: boolean
  • Required: No
  • Expression: ${includeErts}
  • Default: false

tarOptions:

Additional options for systools:make_tar/2 (comma separated). Note: The silent option is passed by the plugin, do not overwrite.
  • Type: java.lang.String
  • Required: No
  • Expression: ${tarOptions}