title: Can I set the project version with a buildnumber-maven-plugin?
body: <p>I'm trying to add the svn.revision to project version as a build number and can't seem to do so.  My jar has the correct name durin packaging, but its installed in the my local repository it is as if ${buildNumber} is/was undefined when the version was set.</p>
  
  <p>I get foo-1.0.0-SNAPSHOT-<strong>${buildNumber}</strong> instead of  foo-1.0.0-SNAPSHOT-<strong>304</strong></p>
  
  <p>Any idea what I'm doing wrong or is adding a revision to the project version a bad idea?   Thanks for the help.</p>
  
  <pre><code>&lt;project&gt;
    ...
    &lt;version&gt;1.0.0-${release.identifier}-${buildNumber}&lt;/version&gt;
    &lt;properties&gt;
      &lt;release.identifier&gt;SNAPSHOT&lt;/release.identifier&gt;
    &lt;/properties&gt;
    ...
    &lt;build&gt;
      &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;executions&gt;
            &lt;execution&gt;
              &lt;id&gt;useLastCommittedRevision&lt;/id&gt;
              &lt;goals&gt;
                &lt;goal&gt;create&lt;/goal&gt;
              &lt;/goals&gt;
              &lt;configuration&gt;
                &lt;useLastCommittedRevision&gt;true&lt;/useLastCommittedRevision&gt;
              &lt;/configuration&gt;
            &lt;/execution&gt;
          &lt;/executions&gt;
        &lt;/plugin&gt;
      &lt;/plugins&gt;
    ...
  &lt;/project&gt;
  </code></pre>