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 or reference articles.
Maven
Name
A name for this action (this will appear within the stage action list).
...
The Debug option will print an overwhelming amount of debugging log messages to the output and is useful if you are attempting to diagnose a difficult problem with a dependency or a classpath. --debug
Produce execution error messages
As described. Useful you need to diagnose an error in a Maven plugin. --errors
...
Skip child projects. --non-recursive
Work offline
...
Build the project in offline mode using local files without connecting to remote repositories for updates. --offline
Snapshots
Choose "Update Snapshots" to force a check for update releases and snapshots on remote repositories. --update-snapshots
Choose "No Snapshot Updates" to suppress checking for update releases and snapshots on remote repositories. --no-snapshot-updates
Choose "Default" to default to the snapshot updating policy set in your environment.
Checksums
Choose "Strict Checksums" to fail the build if the checksums do not match the when downloading artifacts from repositories. --strict-checksums
Choose "Lax Checksums" to cause a warning to be displayed if the checksums do not match the when downloading artifacts from repositories. --lax-checksums
Choose "No Checksums" to default to ignoring checksum mismatches.
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. --threads
Timeout (in seconds)
Number of seconds Continua CI should wait before timing out the Maven action and aborting the command line.
Treat failure as warning
Tick to continue build on failure marking the action with a warning status.
System Properties
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
Environment
Multiple environment variables can be defined - one per line. These are set before the Maven command line is run.
Log environment variables
If this is ticked, environment variable values are written to the build log.
Generate system environment variables
Tick this checkbox to set up a list of new environment variables prefixed with 'ContinuaCI.' for all current system expression objects and variables.