title: How to configure internal company maven repository in project parent POM.xml?
body: <p>I have my own organization internal repository which is configured as follows in global setting.xml:</p>
  
  <pre><code>   &lt;mirror&gt;             
              &lt;id&gt;nexus-public-snapshots&lt;/id&gt;
              &lt;mirrorOf&gt;public-snapshots&lt;/mirrorOf&gt;
              &lt;url&gt;http://nexus.tk.com/content/groups/public-snapshots&lt;/url&gt;
          &lt;/mirror&gt;
          &lt;mirror&gt;
              &lt;id&gt;nexus&lt;/id&gt;
              &lt;mirrorOf&gt;*&lt;/mirrorOf&gt;
              &lt;url&gt;http://nexus.tk.com/content/groups/public&lt;/url&gt;
          &lt;/mirror&gt;
      &lt;/mirrors&gt;
  </code></pre>
  
  <p>Is it possible to move the mirror details to parent pom file as repository? so we do not need to change the default setting.xml for each developer and CI 
  server. </p>
  
  <p>I configured repository as follows in project parent pom.xml but could not build the project. Even the required jar file available in internal company repo maven trying to download the jar from central and report an error <code>could not find artifact</code></p>
  
  <pre><code>&lt;repositories&gt;
      &lt;repository&gt;
          &lt;id&gt;nexus&lt;/id&gt;
          &lt;name&gt;Sonatype's Maven repository&lt;/name&gt;
          &lt;url&gt;http://nexus.tk.com/content/groups/public&lt;/url&gt;
      &lt;/repository&gt;
  &lt;/repositories&gt;
  </code></pre>