Maven SCM 客户端是一个简单的 SCM 命令行工具。
# java -jar target\maven-scm-client-1.1-jar-with-dependencies.jar Usage: maven-scm-client <command> <working directory> <scm url> [<scmVersion> [<scmVersionType>]] scmVersion is a branch name/tag name/revision number. scmVersionType can be 'branch', 'tag', 'revision'. The default value is 'revision'.
# java -jar target\maven-scm-client-1.1-jar-with-dependencies.jar checkout c:\temp\maven-scm-client scm:svn:http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-client [INFO] Executing: cmd.exe /X /C "svn --non-interactive checkout http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-client maven-scm-client" [INFO] Working directory: c:\temp Checked out these files: maven-scm-client\src\main\java\org\apache\maven\scm\client\cli\MavenScmCli.java maven-scm-client\src\main\resources\META-INF\plexus\components.xml maven-scm-client\src\main\bash\maven-scm-update maven-scm-client\src\main\bash\maven-scm-checkin maven-scm-client\src\main\bash\maven-scm-checkout maven-scm-client\src\site\site.xml maven-scm-client\pom.xml