runMaven

Runs Maven operations on a Maven project folder.

Environment/Instance Properties

Property Name

Property Code

Required

Description


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.

Endpoint Selection

This operation delegates endpoint selection to the workflow developer. The workflow editor will default the selection to "All", which selects all available endpoints associated to the environment instance.

Selecting a specific resource will result in selection of endpoints associated to the environment instance which have that resource defined.

Endpoint Execution

This operation delegates endpoint execution to the workflow developer. The workflow editor will default to "Any", which will execute on any one of the selected endpoints, which will be randomly picked from selected endpoints or a specific endpoint where previous step may have executed. Changing this value to "All" to will result in execution on all selected endpoints.