The SCM URL is used to provide any necessary information to connect to your source control system. It is much like a JDBC connection URL.
The format is as follows:
scm:<provider>[:<provider specific connection string>]
The available providers and their particular connection strings are listed below.
The full connection string for CVS is as follows:
scm:cvs:<protocol>[:<host>]:<CVS root>:<CVS module>
For example:
scm:cvs:pserver:anoncvs@cvs.apache.org:/cvs/root:module scm:cvs:ext:username@cvs.apache.org:/cvs/root:module scm:cvs:local:/cvs/root:module
The full connection string for Subversion is as follows:
scm:svn:<url>
For example:
scm:svn:file:///svn/root/module scm:svn:http://svn.apache.org/svn/root/module scm:svn:https://username@svn.apache.org/svn/root/module
The full connection string for StarTeam is as follows:
scm:starteam:username:password@hostName:endpoint/projectName/viewName/folderHierarchy
maven.scm.username
and maven.scm.password
are the prefer way to store authentication information.
For example:
scm:starteam:username:password@hostname:23456/project/view/folder1/folder2 scm:starteam:username@hostname:23456/project/view/folder scm:starteam:hostname:23456/project/view/folder