erlang:upload-tests

Full name:

eu.lindenbaum:maven-erlang-plugin:2.0.0:upload-tests

Description:

This Mojo uploads an application's modules compiled for test execution and the application's tests onto a remote node. This will not upload the application's resource files. The modules will be purged once as if c:c/1 would have been called on a shell.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Since version: 2.0.0.
  • Invokes the execution of the lifecycle phase test-compile prior to executing itself.
  • Executes in its own lifecycle: testupload.

Required Parameters

Name Type Since Description
remote String 2.0.0

The name of the node to upload the compiled code to.

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


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.
withDependencies boolean 2.0.0 Setting this to true will also upload all modules from the (maven) dependencies on the remote node.
Default value is: false.

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}

remote:

The name of the node to upload the compiled code to.

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

  • Type: java.lang.String
  • Since: 2.0.0
  • Required: Yes
  • Expression: ${remote}

withDependencies:

Setting this to true will also upload all modules from the (maven) dependencies on the remote node.
  • Type: boolean
  • Since: 2.0.0
  • Required: No
  • Expression: ${withDependencies}
  • Default: false