title: Get SVN buildnumber of specific branch in Maven
body: <p>I am using SVN . Here is my repo structure</p>
  
  <pre><code>root revision no - 400 
  root/product1/trunk revision no - 300
  root/product1/branch1 revision no - 310 
  root/product1/branch2 revision no - 320
  
  
  root/product2/trunk revision no - 200
  root/product2/branch1 revision no - 210
  .......
  </code></pre>
  
  <p>I have configured below maven plugin under product1/branch1 </p>
  
  <pre><code>&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.4&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;scmDirectory&gt;&lt;/scmDirectory&gt;
          &lt;useLastCommittedRevision&gt;true&lt;/useLastCommittedRevision&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>i am getting <code>buildNumber</code> as 400 though i expect it as 310 i.e per specific to branch or trunk. I know revisions are global revisions from root
  not from specific branch/trunk.</p>
  
  <p>Can we configure it to set specific branch ? If not possible is there any other maven plugin that can help here ?</p>