You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Apache Maven is a build automation tool used primarily for Java projects but can be used to build and manage projects written in C#, Ruby, Scala, and other languages. This action runs the Maven command-line. For more information about the project and documentation on the command-line arguments, please visit the Maven website.

Name

A name for this action (this will appear within the stage action list).

Enabled

An action which is not enabled is effectively skipped when executing the given stage.

Project Folder

The start or working directory to run the Maven command line in.

Phases and Goals

The build lifecycle phases and goals to run

Using 

The Using drop down is populated by any property collector properties whose namespace matches the pattern defined by the Maven Action. The pattern for this action is ^Maven\..*. The default property collector searches the environment path for "mvn.cmd".

If you create a property collector for this action, make sure you select the Path Finder PlugIn type and give it a name that will match the pattern above in blue. 

For more in-depth explanations on property collectors see Managing Property Collectors.

Alternatively, you can select the Custom option from the Using drop down list and specify a path in the resulting input field that will be displayed. Please read Why it's a good idea to use a property collector before using this option.

 

Build Strategy ID

The id of the build strategy to use (--builder).

Activate Profiles

A comma-delimited list of profile-ids of profiles to activate 

Projects

Comma-delimited list of specific reactor projects to build instead of all projects. A project can be specified by [groupId]:artifactId or by its relative path.

 

Resume From

Specif a project name to resume a build from a particular project.

 

Global Settings Path

An alternate path for the global setting file.

Settings Path

An alternate path for the user setting file.

Global Tool Chains Path

An alternate path for the global toolchains file.

User Tool Chains Path

An alternate path for the user toolchains file.

  • No labels