erlang:show-build-info

Full name:

eu.lindenbaum:maven-erlang-plugin:2.0.0:show-build-info

Description:

This Mojo outputs the build information ascertained by maven to compile Erlang sources. The output is supposed to enable other tools (like emacs) to reconstruct compilation commands.

The output is logged at info level and contains:

  • source folder for main erlang sources
  • source folder for unit-test erlang sources
  • include directories that may contain erlang header files
  • code path directories including those of dependend projects in the target directory of the maven build
The output consists of one line per item. Each item consists of two elements: InfoType ": " InfoValue where InfoType is one of:
  • src_dir
  • test_src_dir
  • include_dir
  • code_path
InfoValue is a file path. Both elements a seperated by the string ": " (colon, space).

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Since version: 2.0.0.
  • Invokes the execution of the lifecycle phase compile prior to executing itself.

Optional Parameters

Name Type Since Description
cookie String 2.0.0 The cookie to use for the java and the backend node.
erlCommand String 2.0.0 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
  • Since: 2.0.0
  • 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
  • Since: 2.0.0
  • Required: No
  • Expression: ${erlCommand}