title: What is use of enabled(snapshot, releases) tag in maven pom's repository element?
body: <p>When specifying the repository element why we need <code>snapshots</code> and  <code>releases</code> as well?</p>
  <p>Example:</p>
  <pre class="lang-xml prettyprint-override"><code>&lt;repository&gt;
    &lt;id&gt;my-repo&lt;/id&gt;
    &lt;url&gt;https://some.url.com/my-repo&lt;/url&gt;
    &lt;snapshots&gt;
      &lt;enabled&gt;false/true&lt;/enabled&gt;
    &lt;/snapshots&gt;
    &lt;releases&gt;
      &lt;enabled&gt;false/true&lt;/enabled&gt;
    &lt;/releases&gt;
  &lt;/repository&gt;
  </code></pre>
  <p>How it affects a specific version of the dependency? (1.2.3-SNAPSHOT, 1.2.3, 1.2.3-RELEASE)</p>
  <p>When there are multiple repositories, which repository will be searched for the artifact? How the artifacts being resolved?</p>