title: How to replace a property in a POM in a Maven/Jenkins job?
body: <p>I have a project with client and server components. Both have their own Maven multi-module build projects.</p>
  
  <p>The correct server version must be referenced in various frontend modules. To accomplish this I set a property in my client parent POM like this:</p>
  
  <pre><code>&lt;properties&gt;
    &lt;server.version&gt;1.2.3&lt;/server.version&gt;
  &lt;/properties&gt;
  </code></pre>
  
  <p>Now I'd like to update the version number <em>in the POM</em> (i.e. not just injecting a different version from the command line with -D...) during/after a Jenkins build job. Is there a way to do this?</p>