title: repository tag under distributionManagement vs repositories?
body: <p>I see <code>repository</code> tag under parent element i.e <code>distributionManagement</code> and <code>repositories</code>. What's the difference ?</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;distributionManagement&gt;
      &lt;repository&gt;
          &lt;id&gt;...&lt;/id&gt;
          &lt;name&gt;...&lt;/name&gt;
          &lt;url&gt;...&lt;/url&gt;
      &lt;/repository&gt;
  &lt;/distributionManagement&gt; 
  
  &lt;repositories&gt;
      &lt;repository&gt;
          &lt;id&gt;...&lt;/id&gt;
          &lt;name&gt;...&lt;/name&gt;
          &lt;layout&gt;default&lt;/layout&gt;
          &lt;url&gt;...&lt;/url&gt;
      &lt;/repository&gt;
  &lt;/repositories&gt;
  </code></pre>
  
  <p>My understanding  <code>repository</code> element under <code>distributionManagement</code> element specifies where it will deploy the artifacts at the time of deployment. It will come into picture only while <code>mvn deploy</code> i.e deployment time not during <code>mvn install</code> i.e build time. Right?</p>
  
  <p><code>repository</code> element under repositories element specifies from where dependencies needs to be picked up. It will come into picture only while <code>mvn install</code> not during <code>mvn deploy</code>. Right?</p>