scm:bootstrap
Full name:
org.apache.maven.plugins:maven-scm-plugin:1.8:bootstrap
Description:
Pull the project source from the configured scm and execute the
configured goals.
Attributes:
Required Parameters
Name | Type | Since | Description |
---|---|---|---|
basedir | File | - | The base directory. |
Optional Parameters
Name | Type | Since | 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. |
pushChanges | boolean | 1.4 | Should distributed changes be pushed to the central repository? For
many distributed SCMs like Git, a change like a commit is only
stored in your local copy of the repository. Pushing the change
allows your to more easily share it with other users. Default value is: true. |
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). |
useExport | boolean | - | Use Export instead of checkout |
username | String | - | The user name (used by svn, starteam and perforce protocol). |
workingDirectory | File | - | The working directory. |
Parameter Details
The base directory.
- Type: java.io.File
- Required: Yes
- Expression: ${basedir}
The directory to checkout the sources to for the bootstrap and
checkout goals.
- Type: java.io.File
- Required: No
- Expression: ${checkoutDirectory}
- Default: ${project.build.directory}/checkout
The type of connection to use (connection or developerConnection).
- Type: java.lang.String
- Required: No
- Expression: ${connectionType}
- Default: connection
The SCM connection URL.
- Type: java.lang.String
- Required: No
- Expression: ${connectionUrl}
- Default: ${project.scm.connection}
The SCM connection URL for developers.
- Type: java.lang.String
- Required: No
- Expression: ${connectionUrl}
- Default: ${project.scm.developerConnection}
Comma separated list of excludes file pattern.
- Type: java.lang.String
- Required: No
- Expression: ${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.
- Type: java.lang.String
- Required: No
- Expression: ${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.
- Type: java.lang.String
- Required: No
- Expression: ${goalsDirectory}
Comma separated list of includes file pattern.
- Type: java.lang.String
- Required: No
- Expression: ${includes}
The passphrase (used by java svn).
- Type: java.lang.String
- Required: No
- Expression: ${passphrase}
The user password (used by svn, starteam and perforce protocol).
- Type: java.lang.String
- Required: No
- Expression: ${password}
The private key (used by java svn).
- Type: java.lang.String
- Required: No
- Expression: ${privateKey}
A list of profiles to run with the goals. Multiple profiles must be
comma separated with no spaces.
- Type: java.lang.String
- Required: No
- Expression: ${profiles}
List of provider implementations.
- Type: java.util.Map
- Required: No
Should distributed changes be pushed to the central repository? For
many distributed SCMs like Git, a change like a commit is only
stored in your local copy of the repository. Pushing the change
allows your to more easily share it with other users.
- Type: boolean
- Since: 1.4
- Required: No
- Expression: ${pushChanges}
- Default: true
The version (revision number/branch name/tag name).
- Type: java.lang.String
- Required: No
- Expression: ${scmVersion}
The version type (branch/tag/revision) of scmVersion.
- Type: java.lang.String
- Required: No
- Expression: ${scmVersionType}
Skip checkout if checkoutDirectory exists.
- Type: boolean
- Required: No
- Expression: ${skipCheckoutIfExists}
- Default: false
List of System properties to pass to the JUnit tests.
- Type: java.util.Properties
- Required: 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).
- Type: java.lang.String
- Required: No
- Expression: ${tagBase}
Use Export instead of checkout
- Type: boolean
- Required: No
- Expression: ${useExport}
The user name (used by svn, starteam and perforce protocol).
- Type: java.lang.String
- Required: No
- Expression: ${username}
The working directory.
- Type: java.io.File
- Required: No
- Expression: ${workingDirectory}