title: Maven: change version <properties> in pom.xml
body: <p>It is a question not of the project version!!!!!</p>
  
  <p>I have a Maven pom.xml. Build project and release project deploy with Jenkins.
  Before creating release want set in Jenkins before_version-own=0.0.25 after_version-own=0.0.27-SNAPSHOT</p>
  
  <p>But before and after build "release version" we need set my version in teg properties 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;
  
  &lt;dependencies&gt;
          &lt;dependency&gt;
                  &lt;groupId&gt;com.test-release&lt;/groupId&gt;
                  &lt;artifactId&gt;features-test-release&lt;/artifactId&gt;
                  &lt;version&gt;${version-own}&lt;/version&gt;
          &lt;/dependency&gt;
  &lt;/dependencies&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;
  
  &lt;dependencies&gt;
          &lt;dependency&gt;
                  &lt;groupId&gt;com.test-release&lt;/groupId&gt;
                  &lt;artifactId&gt;features-test-release&lt;/artifactId&gt;
                  &lt;version&gt;${version-own}&lt;/version&gt;
          &lt;/dependency&gt;
  &lt;/dependencies&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;
  
  &lt;dependencies&gt;
          &lt;dependency&gt;
                  &lt;groupId&gt;com.test-release&lt;/groupId&gt;
                  &lt;artifactId&gt;features-test-release&lt;/artifactId&gt;
                  &lt;version&gt;${version-own}&lt;/version&gt;
          &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>