erlang:run

Full name:

eu.lindenbaum:maven-erlang-plugin:2.2.0:run

Description:

A Mojo that runs erlang projects on a specific (remote) node. This will start the project along with all dependent applications and all modules pre-loaded. In case the project is run on the backend node the build will be paused to give the user the possibilty to interact with the running project.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: runtime.
  • Invokes the execution of the lifecycle phase package prior to executing itself.
  • Executes in its own lifecycle: run.

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

The name of the node to run the application on.

Note: The cookie of the remote node has to be set accordingly using the cookie parameter.


withDependencies boolean - Setting this to false will skip the upload of the modules from the (maven) dependencies on the remote node before starting the application.
Default value is: true.

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}

remote:

The name of the node to run the application on.

Note: The cookie of the remote node has to be set accordingly using the cookie parameter.

  • Type: java.lang.String
  • Required: No
  • Expression: ${remote}

withDependencies:

Setting this to false will skip the upload of the modules from the (maven) dependencies on the remote node before starting the application.
  • Type: boolean
  • Required: No
  • Expression: ${withDependencies}
  • Default: true