Pull the project source from the configured scm and execute the configured goals.
Mojo Attributes:
Name | Type | Description |
---|---|---|
basedir | File |
The base directory. |
Name | Type | Description |
---|---|---|
checkoutDirectory | File |
The directory to checkout the sources to for the bootstrap and checkout goals. Default value is ${project.build.directory}/checkout . |
connectionType | String |
The type of connection to use (connection or developerConnection). Default value is connection . |
connectionUrl | String |
The SCM connection URL. Default value is ${project.scm.connection} . |
developerConnectionUrl | String |
The SCM connection URL for developers. Default value is ${project.scm.developerConnection} . |
excludes | String |
Comma separated list of excludes file pattern. |
goals | String |
The goals to run on the clean checkout of a project for the bootstrap goal. If none are specified, then the default goal for the project is executed. Multiple goals should be comma separated. |
goalsDirectory | String |
The subdirectory (under the project directory) in which to run the goals. The project directory is the same as the checkout directory in most cases, but for some SCMs, it is a subdirectory of the checkout directory. |
includes | String |
Comma separated list of includes file pattern. |
passphrase | String |
The passphrase (used by java svn). |
password | String |
The user password (used by svn, starteam and perforce protocol). |
privateKey | String |
The private key (used by java svn). |
profiles | String |
A list of profiles to run with the goals. Multiple profiles must be comma separated with no spaces. |
providerImplementations | Map |
List of provider implementations. |
scmVersion | String |
The version (revision number/branch name/tag name). |
scmVersionType | String |
The version type (branch/tag/revision) of scmVersion. |
skipCheckoutIfExists | boolean |
Skip checkout if checkoutDirectory exists. Default value is false . |
systemProperties | Properties |
List of System properties to pass to the JUnit tests. |
tagBase | String |
The url of tags base directory (used by svn protocol). It is not necessary to set it if you use the standard svn layout (branches/tags/trunk). |
username | String |
The user name (used by svn, starteam and perforce protocol). |
workingDirectory | File |
The working directory. |
The base directory.
java.io.File
Yes
${basedir}
The directory to checkout the sources to for the bootstrap and checkout goals.
java.io.File
No
${checkoutDirectory}
${project.build.directory}/checkout
The type of connection to use (connection or developerConnection).
java.lang.String
No
${connectionType}
connection
The SCM connection URL.
java.lang.String
No
${connectionUrl}
${project.scm.connection}
The SCM connection URL for developers.
java.lang.String
No
${connectionUrl}
${project.scm.developerConnection}
Comma separated list of excludes file pattern.
java.lang.String
No
${excludes}
The goals to run on the clean checkout of a project for the bootstrap goal. If none are specified, then the default goal for the project is executed. Multiple goals should be comma separated.
java.lang.String
No
${goals}
The subdirectory (under the project directory) in which to run the goals. The project directory is the same as the checkout directory in most cases, but for some SCMs, it is a subdirectory of the checkout directory.
java.lang.String
No
${goalsDirectory}
Comma separated list of includes file pattern.
java.lang.String
No
${includes}
The passphrase (used by java svn).
java.lang.String
No
${passphrase}
The user password (used by svn, starteam and perforce protocol).
java.lang.String
No
${password}
The private key (used by java svn).
java.lang.String
No
${privateKey}
A list of profiles to run with the goals. Multiple profiles must be comma separated with no spaces.
java.lang.String
No
${profiles}
List of provider implementations.
java.util.Map
No
The version (revision number/branch name/tag name).
java.lang.String
No
${scmVersion}
The version type (branch/tag/revision) of scmVersion.
java.lang.String
No
${scmVersionType}
Skip checkout if checkoutDirectory exists.
boolean
No
${skipCheckoutIfExists}
false
List of System properties to pass to the JUnit tests.
java.util.Properties
No
The url of tags base directory (used by svn protocol). It is not necessary to set it if you use the standard svn layout (branches/tags/trunk).
java.lang.String
No
${tagBase}
The user name (used by svn, starteam and perforce protocol).
java.lang.String
No
${username}
The working directory.
java.io.File
No
${workingDirectory}