erlang:target-system

Full name:

eu.lindenbaum:maven-erlang-plugin:2.2.0:target-system

Description:

This Mojo creates a target system release package .tar.gz according to the official documentation. If there's no sys.config file found a default empty one will be included.

The resulting target system can be started either directly or as a daemon using the bin/start script. This script has to be provided with the correct root directory of the target system. Custom arguments like node name or cookie can be set by giving them as additional command line arguments to bin/start.

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

  • FIXME not supported on Microsoft Windows

Attributes:

  • Requires a Maven project to be executed.
  • Invokes the execution of the lifecycle phase package prior to executing itself.
  • Executes in its own lifecycle: targetSystem.

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.

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}