mvn:mvn
Full name:
org.kuali.maven.plugins:mvn-maven-plugin:1.0.0-SNAPSHOT:mvn
Description:
Invoke mvn from Maven
Attributes:
- Requires a Maven project to be executed.
Required Parameters
Name |
Type |
Since |
Description |
args |
List |
- |
Arguments to supply to the mvn invocation
|
executable |
String |
- |
The Maven executable Default value is: mvn. |
failOnError |
boolean |
- |
If true, the original Maven build will fail if the mvn invocation
returns a non-zero exit value, otherwise the Maven build will
continue Default value is: true. |
workingDir |
File |
- |
The working directory for the plugin Default value is: ${project.build.directory}/mvn. |
Optional Parameters
Name |
Type |
Since |
Description |
addSystemEnvironment |
boolean |
- |
If true, the System environment is passed to the mvn invocation Default value is: false. |
pom |
String |
- |
The pom to supply to the mvn invocation. This can be a file or any
url Spring resource loading can understand
eg classpath:pom.xml
|
properties |
List |
- |
List of properties to propagate to the mvn invocation
|
Parameter Details
addSystemEnvironment:
If true, the System environment is passed to the mvn invocation
- Type: boolean
- Required: No
- Expression: ${mvn.addSystemEnvironment}
- Default: false
args:
Arguments to supply to the mvn invocation
- Type: java.util.List
- Required: Yes
executable:
The Maven executable
- Type: java.lang.String
- Required: Yes
- Expression: ${mvn.executable}
- Default: mvn
failOnError:
If true, the original Maven build will fail if the mvn invocation
returns a non-zero exit value, otherwise the Maven build will
continue
- Type: boolean
- Required: Yes
- Expression: ${mvn.failOnError}
- Default: true
pom:
The pom to supply to the mvn invocation. This can be a file or any
url Spring resource loading can understand
eg classpath:pom.xml
- Type: java.lang.String
- Required: No
- Expression: ${mvn.pom}
properties:
List of properties to propagate to the mvn invocation
- Type: java.util.List
- Required: No
workingDir:
The working directory for the plugin
- Type: java.io.File
- Required: Yes
- Expression: ${mvn.workingDir}
- Default: ${project.build.directory}/mvn