title: Maven automatic SNAPSHOT update
body: <p>Let's say I have one project with the following POM:</p>
  
  <pre><code>&lt;groupId&gt;com.mine&lt;/groupId&gt;
  &lt;artifactId&gt;coreJar&lt;/artifactId&gt;
  &lt;packaging&gt;jar&lt;/packaging&gt;
  &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
  </code></pre>
  
  <p>And then in another project I always want to reference the latest SNAPSHOT:</p>
  
  <pre><code>&lt;dependencies&gt; 
      &lt;dependency&gt;
          &lt;groupId&gt;com.mine&lt;/groupId&gt;
          &lt;artifactId&gt;coreJar&lt;/artifactId&gt;
          &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;/dependency&gt;
      ...
  &lt;dependencies&gt; 
  </code></pre>
  
  <p>But instead of 0.0.1-SNAPSHOT, I want it to always grab the latest SNAPSHOT version. In the past you could use LATEST, but this has since been deprecated (for reasonable reasons).</p>
  
  <p>I do understand <a href="http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution#DependencyMediationandConflictResolution-DependencyVersionRanges" rel="noreferrer">you can specify versions</a>, such as:</p>
  
  <pre><code>[1.5,)
  </code></pre>
  
  <p>But I could never get it to work with a "-SNAPSHOT": </p>
  
  <pre><code>[0.0.1,)-SNAPSHOT // Doesn't work!
  </code></pre>
  
  <p>The question then is how do I get maven to grab the latest SNAPSHOT in my other project?</p>