scm:checkout

0
59

Get a fresh copy of the latest source from the configured scm url.

Parameter Details

basedir:

The base directory.

  • Type: java.io.File
  • Required: Yes
  • User Property: basedir

checkoutDirectory:

The directory to checkout the sources to for the bootstrap and
checkout goals.

  • Type: java.io.File
  • Required: No
  • User Property: checkoutDirectory
  • Default: ${project.build.directory}/checkout

connectionType:

The type of connection to use (connection or developerConnection).

  • Type: java.lang.String
  • Required: No
  • User Property: connectionType
  • Default: connection

connectionUrl:

The SCM connection URL.

  • Type: java.lang.String
  • Required: No
  • User Property: connectionUrl
  • Default: ${project.scm.connection}

developerConnectionUrl:

The SCM connection URL for developers.

  • Type: java.lang.String
  • Required: No
  • User Property: developerConnectionUrl
  • Default: ${project.scm.developerConnection}

excludes:

Comma separated list of excludes file pattern.

  • Type: java.lang.String
  • Required: No
  • User Property: excludes

includes:

Comma separated list of includes file pattern.

  • Type: java.lang.String
  • Required: No
  • User Property: includes

passphrase:

The passphrase (used by java svn).

  • Type: java.lang.String
  • Required: No
  • User Property: passphrase

password:

The user password (used by svn, starteam and perforce protocol).

  • Type: java.lang.String
  • Required: No
  • User Property: password

privateKey:

The private key (used by java svn).

  • Type: java.lang.String
  • Required: No
  • User Property: privateKey

providerImplementations:

List of provider implementations.

  • Type: java.util.Map
  • Required: No

pushChanges:

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
  • User Property: pushChanges
  • Default: true

scmVersion:

The version (revision number/branch name/tag name).

  • Type: java.lang.String
  • Required: No
  • User Property: scmVersion

scmVersionType:

The version type (branch/tag/revision) of scmVersion.

  • Type: java.lang.String
  • Required: No
  • User Property: scmVersionType

skipCheckoutIfExists:

Skip checkout if checkoutDirectory exists.

  • Type: boolean
  • Required: No
  • User Property: skipCheckoutIfExists
  • Default: false

systemProperties:

List of System properties to pass to the JUnit tests.

  • Type: java.util.Properties
  • Required: No

tagBase:

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
  • User Property: tagBase

useExport:

Use Export instead of checkout

  • Type: boolean
  • Required: No
  • User Property: useExport
  • Default: false

username:

The user name (used by svn, starteam and perforce protocol).

  • Type: java.lang.String
  • Required: No
  • User Property: username

workItem:

A workItem for SCMs like RTC, TFS etc, that may require additional
information to perform a pushChange operation.

  • Type: java.lang.String
  • Since: 1.9.5
  • Required: No
  • User Property: workItem

workingDirectory:

The working directory.

  • Type: java.io.File
  • Required: No
  • User Property: workingDirectory

Let’s block ads! (Why?)

from My Reading List: Read and Unread https://ift.tt/2tLfwp3
via IFTTT

LEAVE A REPLY

Please enter your comment!
Please enter your name here