Anonymous access
The source can be checked out anonymously from SVN with this command:
$ svn checkout http://svn.apache.org/repos/asf/maven/maven-3/tags/maven-3.0.4/maven-settings maven-settings
Developer access
Everyone can access the Subversion repository via HTTP, but Committers must checkout the Subversion repository via HTTPS.
$ svn checkout https://svn.apache.org/repos/asf/maven/maven-3/tags/maven-3.0.4/maven-settings maven-settings
To commit changes to the repository, execute the following command to commit your changes (svn will prompt you for your password)
$ svn commit --username your-username -m "A message"
Access from behind a firewall
For those users who are stuck behind a corporate firewall which is blocking HTTP access to the Subversion repository, you can try to access it via the developer connection:
$ svn checkout https://svn.apache.org/repos/asf/maven/maven-3/tags/maven-3.0.4/maven-settings maven-settings
Access through a proxy
The Subversion client can go through a proxy, if you configure it to do so. First, edit your "servers" configuration file to indicate which proxy to use. The file's location depends on your operating system. On Linux or Unix it is located in the directory "~/.subversion". On Windows it is in "%APPDATA%\Subversion". (Try "echo %APPDATA%", note this is a hidden directory.)
文件中的注释解释了要做什么。如果您没有该文件,请获取最新的 Subversion 客户端并运行任何命令;这将导致创建配置目录和模板文件。
示例:编辑“服务器”文件并添加如下内容:
[global] http-proxy-host = your.proxy.name http-proxy-port = 3128