title: Capturing the Unique Maven SNAPSHOT build number
body: <p>I am looking for a way to capture the unique SNAPSHOT build number that was generated during the 'mvn deploy' phase of the build.  I would like to be able to pass this version (during a Hudson build) to another process used for deploying to an application server.  The key here is being able to capture the exact Maven SNAPSHOT build number, such as:</p>
  
  <pre><code>foobar-0.4-20100707.060244-11.war
  </code></pre>
  
  <p>I have noticed that Hudson is capturing this information if you archive the maven build artifact, but it is not clear how I can expose this variable and pass it to another job (which is what I want to do).  I can see this variable in the Hudson Home directory, like so:</p>
  
  <pre><code>/hudson/jobs/JOB_NAME/builds/24/org.ace.widgets$foobar/archive/org.ace.widgets/foobar/0.4-20100707.060244-11
  </code></pre>
  
  <p>Any Maven and/or Hudson experts out there that have any clue how to expose the SNAPSHOT build number?  Hudson is doing it?</p>