title: How to checkout code from svn using maven?
body: <p>I am trying to checkout code from svn. I have written a pom.xml to do the same. Below is my code.</p>
  
  <pre><code>&lt;scm&gt;
      &lt;connection&gt;scm:svn:http://10.6.15.103/svn/PLM_Windchill_MidMarket/PLM_Windchill_MidMarket&lt;/connection&gt;
      &lt;developerConnection&gt;scm:svn:http://10.6.15.103/svn/PLM_Windchill_MidMarket/PLM_Windchill_MidMarket&lt;/developerConnection&gt;
  &lt;/scm&gt;
  &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-scm-plugin&lt;/artifactId&gt;
              &lt;version&gt;1.7&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;checkoutDirectory&gt;${project.basedir}/src/svn&lt;/checkoutDirectory&gt;
                  &lt;workingDirectory&gt;${project.basedir}/src/svn&lt;/workingDirectory&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p>when i run mvn scm:checkout install, I get the below error:</p>
  
  <pre><code> Failed to execute goal org.apache.maven.plugins:maven-scm-plugin:1.7:checkout (default-cli) on project test_project1: Cannot run checkout command : Can't load the scm provider. Guice provision errors:
  
   1) Error in custom provider, java.lang.TypeNotPresentException: Type org.apache.maven.scm.provider.cvslib.cvsjava.CvsJavaScmProvider not present
   at ClassRealm[plugin&gt;org.apache.maven.plugins:maven-scm-plugin:1.7, parent: sun.misc.Launcher$AppClassLoader@5acac268]
   at ClassRealm[plugin&gt;org.apache.maven.plugins:maven-scm-plugin:1.7, parent: sun.misc.Launcher$AppClassLoader@5acac268]
   while locating org.apache.maven.scm.provider.ScmProvider annotated with @com.google.inject.name.Named(value=cvs)
  
   1 error: org/apache/maven/scm/provider/cvslib/AbstractCvsScmProvider: org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider
  </code></pre>
  
  <p>May I know how to resolve this problem?</p>