Apache Maven 1.x has reached its end of life, and is no longer supported. For more information, see the announcement. Users are encouraged to migrate to the current version of Apache Maven.

Maven Source Control Management Plug-in Settings

General SCM Settings

Property Optional? Description
maven.scm.url If there is no POM The URL to use. This overrides the connection setting in the POM if required. It is required if there is no connection setting in the POM, or there is no POM at all.
maven.scm.tag Yes The tag to use when checking out or tagging a project.
maven.scm.version Yes The version to use when preparing a release. If omitted, you will be prompted for it.
maven.scm.bootstrap.goals Yes 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.
maven.scm.bootstrap.pom.dir Yes The relative path to the project.xml file within the checkout for the bootstrap goal.
maven.scm.checkout.dir Yes The directory to checkout the sources to for the bootstrap and checkout goals. The default is ${maven.build.dir}/checkout.
maven.scm.ignore.pom.developerConnection Yes Set to true if you do not wish to use the developer connection for this URL. The pom.connection setting will be used instead.
maven.scm.patch.dir Yes

Working directory for creating a patch file. Used by the create-patch goal.

Defaults to ${maven.build.dir}/scm/patch

maven.scm.patch.file Yes

The name of the patch file created y the create-patch goal. in the ${maven.scm.patch.dir} directory

Defaults to patch.diff

maven.scm.username Yes

The username to pass to the SCM. Currently only Subversion and Starteam are known to honour this. You can also add it to the URL, eg. http://user@svn.mycompany.com/repos.

maven.scm.password Yes

The password to give to the SCM. Currently only Subversion and Starteam are known to honour this. It is not recommended that you use this property, and instead use an alternative authentication technique such as an ssh agent or Subversion's password caching mechanism.

maven.scm.message Yes

Add/Checkin comment. Default is blank.

maven.scm.src.includes Yes

Comma or space separated list of Ant path patterns for scm:checkin, scm:update, scm:add goals Default is blank.

maven.scm.src.excludes Yes

Comma or space separated list of Ant path patterns for scm:checkin, scm:update, scm:add goals Default is blank.

maven.scm.testmode Yes

When true, the scm:prepare-release goal only updates the files project.xml and xdocs/changes.xml but does not commit the changes. Also the tagging of the source tree will be skipped. Default value is false.

Subversion Specific Settings

Property Optional? Description
maven.scm.svn.tag.base Yes The Subversion URL to copy tagged sources to. The default is ../tags, relative to the URL for the current source tree.

Deprecated SCM Properties

Property Optional? Description
maven.scm.method Yes

Default value is cvs.

maven.scm.cvs.root Yes

Default value is taken from CVSROOT in the environment. If you have a valid Maven project descriptor and the repository element is using CVS, you do not need to set this property.

maven.scm.cvs.module Yes

The CVS module to checkout

maven.scm.svn.root Yes

If you have a valid Maven project descriptor and the repository element is using SVN, you do not need to set this property.

maven.scm.cvs.sticky.tag Yes

Sticky tag to use when checking out or updating. Default is none.

maven.scm.check.tagged Yes

When true, you will be asked for confirmation if you are attempting to release from HEAD. Default value is true.