mvn

This execution function is used to run Maven. The body parameter is supplied as a higher-order function that executes within the scope of a MavenExecutionTemplate object, in which the parameters for Maven can be declared.

Parameters

condition

An optional activation condition for this scope. This can be used to declaratively specify under what conditions the scope should be evaluated. If the passed ScopeActivationCondition object evaluates to false, the entire scope will be ignored. The default value for this parameter is always.

body

A trailing lambda function which is used to populate the MavenExecutionTemplate object.