Runs Maven operations on a Maven project folder.
...
Property Name | Property Code | Required | Description | Added in Version |
---|---|---|---|---|
Maven Home | FDMVN_MAVEN_HOME | No | If it is desired to use an external Maven, fill in the Maven Home up to but not including the bin folder here. Otherwise, the internal Maven 3.05 will be used. (e.g. /opt/apache/maven/3.3.3) The folder should have a bin folder inside it with the maven executable (mvn or mvn.cmd) | 4.0.3.7 |
Maven Environment Script | FDMVN_MAVEN_ENV_SCRIPT | No | If necessary, provide a script to source variables for use by the Maven Plugin. This script can refer to other scripts, or be the script itself. (e.g. . /home/oracle/.bash_profile) or if you don't have a script to run, you can export directly (e.g. export MAVEN_HOME=/opt/apache/maven/3.3.3;export M2_HOME=/opt/apache/maven/home) | 4.0.3.7 |
...
Property Name | Property Code | Required | Description |
---|---|---|---|
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
Project Location |
| No | Path to the project which contains a POM file. If a relative path is given, a path inside In older versions of the plugin, it had been required. Please upgrade to the latest plugin version. |
Run Phases |
| Yes | Space-delimited Maven life cycle phases to execute (e.g. |
Arguments |
| No | Space-delimited argument list (e.g. |
Outputs
Output Name | Required | Description |
---|---|---|
Artifacts
This operation does not consume or produce artifacts. You may wish to use the file plugin to move the correct files to the artifacts folder in a following step in the workflow.
...