title: Maven: change version properties in pom.xml
body: <p>I have a Maven pom.xml, I build project and release project deploy with Jenkins.</p>
  
  <p>But before and after build "release version" we need set my version in </p>
  
  <p>For example:
  I have in pom.xml</p>
  
  <pre><code>&lt;properties&gt;
     &lt;version-own&gt;0.0.21-SNAPSHOT&lt;/version-own&gt;
  &lt;/properties&gt;
  </code></pre>
  
  <p>before release I need set like this</p>
  
  <pre><code>&lt;properties&gt;
     &lt;version-own&gt;0.0.25&lt;/version-own&gt;
  &lt;/properties&gt;
  </code></pre>
  
  <p>after release I need set like this</p>
  
  <pre><code>&lt;properties&gt;
     &lt;version-own&gt;0.0.27-SNAPSHOT&lt;/version-own&gt;
  &lt;/properties&gt;
  </code></pre>
  
  <p>How can this be done?</p>