blob: 19cd470215048b9ef71d14baad938fe1b22786eb [file] [log] [blame]
------
SCM Implementation: Subversion
------
Wim Deblauwe
------
2005-12-01
------
~~ Licensed to the Apache Software Foundation (ASF) under one
~~ or more contributor license agreements. See the NOTICE file
~~ distributed with this work for additional information
~~ regarding copyright ownership. The ASF licenses this file
~~ to you under the Apache License, Version 2.0 (the
~~ "License"); you may not use this file except in compliance
~~ with the License. You may obtain a copy of the License at
~~
~~ http://www.apache.org/licenses/LICENSE-2.0
~~
~~ Unless required by applicable law or agreed to in writing,
~~ software distributed under the License is distributed on an
~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~~ KIND, either express or implied. See the License for the
~~ specific language governing permissions and limitations
~~ under the License.
~~ NOTE: For help with the syntax of this file, see:
~~ http://maven.apache.org/doxia/references/apt-format.html
SCM Implementation: Subversion
* General Info
Link : {{http://subversion.tigris.org/}}
License : CollabNet/Tigris.org Apache-style license
* SCM Url
For all URLs below, we use a colon (:) as separator. If you use a colon for one of the variables (e.g. a windows path), then use a pipe (|) as separator.
-------
scm:svn:svn://[username[:password]@]server_name[:port]/path_to_repository
scm:svn:svn+ssh://[username@]server_name[:port]/path_to_repository
scm:svn:file://[hostname]/path_to_repository
scm:svn:http://[username[:password]@]server_name[:port]/path_to_repository
scm:svn:https://[username[:password]@]server_name[:port]/path_to_repository
-------
* Examples
-------
scm:svn:file:///svn/root/module
scm:svn:file://localhost/path_to_repository
scm:svn:file://my_server/path_to_repository
scm:svn:http://svn.apache.org/svn/root/module
scm:svn:https://username@svn.apache.org/svn/root/module
scm:svn:https://username:password@svn.apache.org/svn/root/module
-------
* Provider Configuration
The provider configuration is defined in ${user.home}/.scm/svn-settings.xml
** Configuration directory
You can define the subversion configuration directory ('--config-dir' svn global option) in the provider configuration file or with 'maven.scm.svn.config_directory' command line parameter.
-------
<svn-settings>
<configDirectory>your_configuration_directory</configDirectory>
<useCygwinPath>true in order to use cygwin path /cygdrive/c</useCygwinPath>
<cygwinMountPath>the mount path to use default is /cygwin</cygwinMountPath>
</svn-settings>
-------
-------
mvn -Dmaven.scm.svn.config_directory=your_configuration_directory scm:update
-------