scm:validate

Full name:

org.apache.maven.plugins:maven-scm-plugin:1.9.4:validate

Description:

Validate scm connection string.

Attributes:

  • Invokes the execution of the lifecycle phase validate prior to executing itself.

Required Parameters

Name Type Since Description
basedir File - The base directory.
User property is: basedir.

Optional Parameters

Name Type Since Description
connectionType String - The type of connection to use (connection or developerConnection).
Default value is: connection.
User property is: connectionType.
connectionUrl String - The SCM connection URL.
Default value is: ${project.scm.connection}.
User property is: connectionUrl.
developerConnectionUrl String - The SCM connection URL for developers.
Default value is: ${project.scm.developerConnection}.
User property is: developerConnectionUrl.
excludes String - Comma separated list of excludes file pattern.
User property is: excludes.
includes String - Comma separated list of includes file pattern.
User property is: includes.
passphrase String - The passphrase (used by java svn).
User property is: passphrase.
password String - The user password (used by svn, starteam and perforce protocol).
User property is: password.
privateKey String - The private key (used by java svn).
User property is: privateKey.
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.
User property is: pushChanges.
scmCheckWorkingDirectoryUrl boolean - (Subversion specific) Enables checking that "URL" field returned by svn info matches what is specified under the scm tag.
Default value is: false.
User property is: scmCheckWorkingDirectoryUrl.
scmConnection String - The scm connection url.
Default value is: ${project.scm.connection}.
User property is: scmConnection.
scmDeveloperConnection String - The scm connection url for developers.
Default value is: ${project.scm.developerConnection}.
User property is: scmDeveloperConnection.
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).
User property is: tagBase.
username String - The user name (used by svn, starteam and perforce protocol).
User property is: username.
workingDirectory File - The working directory.
User property is: workingDirectory.

Parameter Details

basedir:

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

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

scmCheckWorkingDirectoryUrl:

(Subversion specific) Enables checking that "URL" field returned by svn info matches what is specified under the scm tag.
  • Type: boolean
  • Required: No
  • User Property: scmCheckWorkingDirectoryUrl
  • Default: false

scmConnection:

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

scmDeveloperConnection:

The scm connection url for developers.
  • Type: java.lang.String
  • Required: No
  • User Property: scmDeveloperConnection
  • Default: ${project.scm.developerConnection}

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

username:

The user name (used by svn, starteam and perforce protocol).
  • Type: java.lang.String
  • Required: No
  • User Property: username

workingDirectory:

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