Use the Maven bundled plugin to execute Maven goals.


Before you can use this plugin in chains, install Maven on an agent and add it as a capability. For details, see Add capabilities to agents.

Back to top


When you add the Maven plugin step to a chain, specify the following configuration details:

Field Description
Title Enter a name for the plugin step.
Execution goals Specify the goals to be executed, for example, clean install.
Working directory (Optional) Enter the path where to run the build, relative to the stream’s root.
Maven executable location (Optional) Enter the path to mvn or mvn.bat. To use the location defined in your path, or system search path, leave this field empty.
Use advanced options (optional)
Maven JVM options

Enter additional Maven JVM options (MAVEN_OPTS), for example:

-Xdiag -XshowSettings:all

Environment variables

Specify environment properties to use with this chain. Enter each variable on a separate line in the format KEY=VALUE, for example:



Back to top

See also: