title: How can I take build number using SVN and Maven?
body: <p>I use <code>buildnumber-maven-plugin</code> and I need take build number of project from svn. My pom.xml:</p>
  
  <pre><code>&lt;scm&gt;
      &lt;connection&gt;
          scm:svn:https://username:password@path_to_repositiry
      &lt;/connection&gt;
  &lt;/scm&gt;
  
  &lt;plugin&gt;
      &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
      &lt;artifactId&gt;buildnumber-maven-plugin&lt;/artifactId&gt;
      &lt;version&gt;1.1&lt;/version&gt;
      &lt;executions&gt;
          &lt;execution&gt;
              &lt;phase&gt;validate&lt;/phase&gt;
              &lt;goals&gt;
                  &lt;goal&gt;create&lt;/goal&gt;
              &lt;/goals&gt;
          &lt;/execution&gt;
      &lt;/executions&gt;
      &lt;configuration&gt;
          &lt;doCheck&gt;false&lt;/doCheck&gt;
          &lt;doUpdate&gt;false&lt;/doUpdate&gt;
          &lt;providerImplementations&gt;
              &lt;svn&gt;javasvn&lt;/svn&gt;
          &lt;/providerImplementations&gt;
      &lt;/configuration&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.code.maven-scm-provider-svnjava&lt;/groupId&gt;
              &lt;artifactId&gt;maven-scm-provider-svnjava&lt;/artifactId&gt;
              &lt;version&gt;2.0.2&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.tmatesoft.svnkit&lt;/groupId&gt;
              &lt;artifactId&gt;svnkit&lt;/artifactId&gt;
              &lt;version&gt;1.7.4-v1&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>But I have error, when I package a project:</p>
  
  <pre><code>[ERROR] Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.1:create (default)on project myproject: Cannot get the revision information from the scm repository : [ERROR] Exception while executing SCM command. svn: E155021: This client is too old to work with the working copy at [ERROR] 'D:\projects\myproject' (format {1}).
  </code></pre>
  
  <p>Although I use TortoiseSVN 1.8.2!</p>
  
  <p>I read that <code>buildnumber-maven-plugin</code> behaves so with TortoiseSVN 1.7 and older.
  How can I take build number using SVN and Maven?</p>