Maven
Use the Maven bundled plugin to execute Maven goals.
Prerequisites
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.
Configuration
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:
|
Environment variables |
Specify environment properties to use with this chain. Enter each variable on a separate line in the format KEY=VALUE, for example: JAVA_OPTS=-agentlib:jdwp=transport=dt_socket,address=127.0.0.1:52515,suspend=y,server=n JAVA_HOME=/usr/user1/java_1.8 |
See also: