title: If the dependency is a unique snapshot version and install is called, what does maven select?
body: <p>Imagine two projects. The first is the <code>framework-core</code> project which is in version <code>1.1.0</code> and has several snapshot builds. The other is the <code>example-business</code> project which has the following dependency to <code>framework-core</code> on the build-iteration number 9.</p>
  
  <pre><code>&lt;dependency&gt;
    &lt;groupId&gt;org.example&lt;/groupId&gt;
    &lt;artifactId&gt;framework-core&lt;/artifactId&gt;
    &lt;version&gt;1.1.0-20100518.134928-9&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>What happens if <code>mvn install</code> is called on the <code>framework-core</code>? I found out that the artifact is copied to the folder and is named to <code>*.1.1.0-SNAPSHOT.jar</code> (as expected).</p>
  
  <p>This lead me to the assumption that this version is only used if even this <code>1.1.0-SNAPSHOT</code> version is defined as dependency and not the precise build.</p>
  
  <p>To test something local without deploying it to the maven repository: call <code>mvn install</code>, change the dependency to <code>1.1.0-SNAPSHOT</code> -- and the artifact just installed is used? Or is it possible to overwrite the specific build (with using the <code>install</code> lifecycle phase)?</p>