title: Add local repository to maven settings.xml
body: <p>I have a local repository on my machine. I need to add it to maven's settings.xml. All the examples I've found online look like this:</p>
  
  <pre><code>&lt;settings&gt;
    &lt;profiles&gt;
      &lt;profile&gt;
        &lt;id&gt;myprofile&lt;/id&gt;
        &lt;repositories&gt;
          &lt;repository&gt;
            &lt;id&gt;androidsupport&lt;/id&gt;
            &lt;name&gt;Android Support&lt;/name&gt;
            &lt;url&gt;http://www.whatever.com/maven2/&lt;/url&gt;
          &lt;/repository&gt;
       &lt;/repositories&gt;
      &lt;/profile&gt;
  
        &lt;activeProfiles&gt;
          &lt;activeProfile&gt;myprofile&lt;/activeProfile&gt;
        &lt;/activeProfiles&gt;
    &lt;/profiles&gt;
  &lt;/settings&gt;
  </code></pre>
  
  <p>I need to point it to a local repo. How can I do that?</p>