Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 here. Otherwise, the internal Maven 3.05 will be used.

The folder should have a bin folder inside it with the maven executable (mvn or mvn.cmd)

4.0.3.67
Maven Environment ScriptFDMVN_MAVEN_ENV_SCRIPTNo

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

(e.g. MAVEN_HOME=/opt/apache/maven/3.3.3;M2_HOME=/opt/apache/maven/home)

4.0.3.67

Project Properties

Property Name

Property Code

Required

Description





Inputs

Input Name

Input Code

Required

Description

Project Location

FDMVN_PROJECT_LOCATION

Yes

Path to the project which contains a POM file. If a relative path is given, a path inside FD_TEMP_DIR will be assumed.

Run Phases

FDMVN_RUN_PHASES

Yes

Space-delimited Maven life cycle phases to execute (e.g. clean package).
For more information, see the Lifecycle Guide.

Arguments

FDMVN_ARGS

No

Space-delimited argument list (e.g. -B -fae).

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.

...