Full name:
eu.lindenbaum:maven-erlang-plugin:2.2.0:package
Description:
This Mojo
packages all application artifacts into a
single .tar.gz
package. This includes
.beam
files, the .hrl
include files and
private data from the priv
directory.
Besides that this Mojo
also copies the erlang
application resource file. In order to manage the project over the
project pom there is the possibility to let the Mojo
automatically fill in values from the project pom into the
.app
and .appup
files. This can be done
by using one of the supported variables into the application
resource files. Below is a list of supported variables and their
substitutions:
${ARTIFACT}
: the projects artifact id (atom)${DESCRIPTION}
: the projects description
(string)${ID}
: the project id (string)${NAME}
: the projects name (string)${VERSION}
: the projects version (string)${MODULES}
: all compiled .beam
files
found in the target ebin folder (list)${REGISTERED}
: all registered names, based on the
-registered(Names).
attribute retrieved from the
compiled .beam
files (list)${APPLICATIONS}
: all dependency applications of
the project as configured in the project's pom.xml
(string)The resulting application resource file as well as the application upgrade file will be checked for plausability.
Attributes:
test
.package
.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. |
java.lang.String
No
${cookie}
erl
is
used (assuming the command is part of the hosts PATH
).
The path must not contain any arguments.java.lang.String
No
${erlCommand}