title: How to display SVN version in Maven usng the build-number plugin
body: <p>How do display the svn version and the timestamp using build number plugin. </p>
  
  <p>Currently I have the following</p>
  
  
  
  <pre class="lang-xml prettyprint-override"><code>&lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
              &lt;artifactId&gt;buildnumber-maven-plugin&lt;/artifactId&gt;
              &lt;configuration&gt;
                  &lt;format&gt;At {0,time} on {0,date} : SVN Revision {1,number}&lt;/format&gt;
                  &lt;items&gt;
                      &lt;item&gt;timestamp&lt;/item&gt;
                      &lt;item&gt;buildNumber&lt;/item&gt;
                  &lt;/items&gt;
                  &lt;doCheck&gt;false&lt;/doCheck&gt;
                  &lt;doUpdate&gt;false&lt;/doUpdate&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  </code></pre>
  
  <p>Which shows up as follows: <code>At 8:02:51 AM on Feb 2, 2011 : SVN Revision 1</code></p>
  
  <p>But my svn revision is 1123. if I comment out the <code>&lt;format&gt;</code> and <code>&lt;items&gt;</code> I get the correct svn build number. How do I display both?</p>
  
  <p>Thanks</p>