title: Access maven project version in Spring config files
body: <p>I would like to display the currently running version of my web application in the page. The project is based on Maven, Spring, and Wicket.</p>
  
  <p>I'd like to somehow get the value of maven's <code>${project.version}</code> and use it in my spring XML files, similarly to the way I use the Spring PropertyPlaceholderConfigurer to read a property file for settings that I use in my application. </p>
  
  <p>If I had the maven <code>project.version</code> available as a variable in my Spring config, I could do something like this:</p>
  
  <pre><code>&lt;bean id="applicationBean" class="com.mysite.web.WicketApplication"&gt;
  &lt;property name="version"&gt;&lt;value&gt;${project.version}&lt;/value&gt;&lt;/property&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>How can I do this?</p>