Versions Compared

Key

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

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 - for more information about the project and documentation on the command-line arguments, please visit the Maven website or reference articles.

Image RemovedImage Added

Name

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

...

An alternate path for the user toolchains file. --toolchains

 

Image RemovedImage Added

 

Log Level

Logging verbosity level (Quiet, Errors, Normal, Debug).

...

As described. Useful you need to diagnose an error in a Maven plugin. --errors

Never fail the build regardless of project result

As described. --fail-never

Only fail the build afterwards; allow all non-impacted builds to continue

...

As described. --fail-fast

...

As described. --fail-never

Image RemovedImage Added

 

Use Maven 2 Legacy Local Repository behaviour. i.e. no use of _remote.repositories

...

Skip child projects. --non-recursive

 

Work offline
 

Build the project in offline mode using local files without connecting to remote repositories for updates. --offline

...

Thread Count

Number of threads Maven should use for parallel builds. Specify the exact number of threads e.g. 4, or a core multiplier e.g. 2C or 1.5C for 2 threads per core or 1.5 threads per core

 

Timeout (in seconds)

Number of seconds Continua CI should wait before timing out the Maven action and aborting the command line.

 

Image Added

System Properties

Use this field to define the values of properties to be used in a Maven POM or Plugin. Specify each property as a name and value pair - one per line. --define

 

Image Added

 

Environment Variables

Use this field to define the values of environment variables to set before running the Maven command line. Specify each variable as a name and value pair - one per line.