title: Versions Maven Plugin : do not update to last release available
body: <p>Let's consider I have a dependency in my <code>pom.xml</code> like this :</p>
  
  <pre><code>&lt;dependency&gt;
    &lt;groupId&gt;mygroupid&lt;/groupId&gt;
    &lt;artifactId&gt;myartifactid&lt;/artifactId&gt;
    &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>For each build, I'd like the version of this dependency to be updated if the release exists.
  Thus, I expect the version to be updated from <em>1.0-SNAPSHOT</em> to <em>1.0</em>, <strong>even if version 2.0 has been released</strong>.</p>
  
  <p>It's possible with <a href="http://www.mojohaus.org/versions-maven-plugin/update-properties-mojo.html" rel="nofollow noreferrer">Versions Maven Plugin</a>, executing <code>mvn versions:use-releases</code>. Fine.</p>
  
  <p>Now, the version is set in a property. The <code>pom.xml</code> looks like this :</p>
  
  <pre><code>&lt;dependency&gt;
    &lt;groupId&gt;mygroupid&lt;/groupId&gt;
    &lt;artifactId&gt;myartifactid&lt;/artifactId&gt;
    &lt;version&gt;${my.version}&lt;/version&gt;
  &lt;/dependency&gt;
  
  &lt;properties&gt;
    &lt;my.version&gt;1.0-SNAPSHOT&lt;/my.version&gt;
  &lt;/properties&gt;
  </code></pre>
  
  <p>Same as before, I'd like like the version of this dependency to be updated if the release exists.</p>
  
  <p>It looked possible with the same <a href="http://www.mojohaus.org/versions-maven-plugin/update-properties-mojo.html" rel="nofollow noreferrer">Versions Maven Plugin</a>, executing <code>mvn versions:update-properties</code>. But, with this goal, the version is updated to the <strong>last release available</strong> (e.g. <em>2.0</em> in our case) instead of <em>1.0</em>.</p>
  
  <p>Any idea of how to get the same behavior as <code>use-release</code> goal with <code>update-properties</code> goal ?</p>