Full name:
eu.lindenbaum:maven-erlang-plugin:2.2.0:appup
Description:
This Mojo
will generate an application upgrade file
template for an application. In order to do so all available
non-SNAPSHOT versions of the project will be resolved (also from
remote repositories). All versions smaller than the current version
will be included in the generation. The resulting application
upgrade file's location will be prompted on success as well as its
content.
The generation algorithm is outlined in the following description:
{load_module, Module}
statements for them.GetAppupDirectiveScript
on them.{delete_module,
Module}
statements for them.The GetAppupDirectiveScript
works as described
below:
{update, Module, supervisor}
statement if
Module
is a supervisor.{update, Module}
statement if
Module
exports code_change/3
.{load_module, Module}
statement if
Module
does not meet the previous conditions.Attributes:
test
.2.1.0
.package
prior to executing itself.appup-relup
.Name | Type | Since | Description |
---|---|---|---|
cookie | String |
2.1.0 |
The cookie to use for the java and the backend node. |
erlCommand | String |
2.1.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. |
java.lang.String
2.1.0
No
${cookie}
erl
is
used (assuming the command is part of the hosts PATH
).
The path must not contain any arguments.java.lang.String
2.1.0
No
${erlCommand}