title: Using multiple Maven mirrors to pull different jar version into a project
body: <p>I am experiencing issues pulling in a new version of a library which lives in a different repository.  I believe I have to update my <code>settings.xml</code> and my parent level <code>pom.xml</code> which specifies the new version.</p>
  
  <p>Currently my <code>settings.xml</code> reads like the following:</p>
  
  <pre><code>&lt;settings&gt;
     &lt;mirrors&gt;
        &lt;mirror&gt;
           &lt;id&gt;nexus&lt;/id&gt;
           &lt;url&gt;http://serenity.gm.edu/nexus/content/groups/public/&lt;/url&gt;
           &lt;mirrorOf&gt;central&lt;/mirrorOf&gt;
        &lt;/mirror&gt;
        &lt;mirror&gt;
           &lt;id&gt;mods&lt;/id&gt;
           &lt;url&gt;http://7.169.72.8:8081/nexus/content/repositories/releases/&lt;/url&gt;
           &lt;mirrorOf&gt;central&lt;/mirrorOf&gt;
        &lt;/mirror&gt;
    &lt;/mirrors&gt;
    &lt;profiles&gt;
       &lt;profile&gt;
          &lt;id&gt;default&lt;/id&gt;
          &lt;repositories&gt;
             &lt;repository&gt;
                &lt;id&gt;mod-thirdparty&lt;/id&gt;
                &lt;url&gt;http://7.169.72.8:8081/nexus/content/repositories/thridparty/&lt;/url&gt;
             &lt;/repository&gt;
             &lt;repository&gt;
                &lt;id&gt;mod-snapshots&lt;/id&gt;
                &lt;url&gt;http://7.169.72.8:8081/nexus/content/repositories/snapshots/&lt;/url&gt;
             &lt;/repository&gt;
         &lt;/repositories&gt;
     &lt;/profile&gt;
  &lt;/profiles&gt;
  
  &lt;servers&gt;
     &lt;server&gt;
        &lt;id&gt;Tomcat&lt;/id&gt;
        &lt;username&gt;admin&lt;/username&gt;
        &lt;password&gt;xxx&lt;/password&gt;
     &lt;/server&gt;
  &lt;/servers&gt;
  </code></pre>
  
  <p></p>
  
  <p>The default mirror where everything gets pulled in from is <strong>serenity</strong>.  I am trying to pull in a custom library <code>mod3.2</code> from 7.169.72.8 but version 2.3 keeps getting pulled in from serenity.  I have tried a number of <code>&lt;mirrorOf&gt;</code> settings such as <code>*,!central</code> with no success.</p>
  
  <p>My parent <code>pom.xml</code> is fairly straightforward defining a list of modules, proerties, and global dependencies.  Here are the items of interest (it is too long to show).</p>
  
  <pre><code>&lt;project ...&gt;
  ...
  &lt;distributionManagement&gt;
     &lt;repository&gt;
        &lt;id&gt;releases&lt;/id&gt;
        &lt;name&gt;mod2-releases&lt;/name&gt;
           &lt;url&gt;http://7.169.72.8:8081/nexus/content/repositories/releases&lt;/url&gt;
     &lt;/repository&gt;
     &lt;snapshotRepository&gt;
        &lt;id&gt;snapshots&lt;/id&gt;
        &lt;name&gt;mod2-snapshots&lt;/name&gt;
           &lt;url&gt;http://7.169.72.8:8081/nexus/content/repositories/snapshots&lt;/url&gt;
     &lt;/snapshotRepository&gt;
  &lt;/distributionManagement&gt;
  
  &lt;properties&gt;
      ...
      &lt;mod2.version&gt;3.2&lt;/mod2.version&gt;
      ...
  &lt;/properties&gt;
  
      ...
  
  &lt;dependencyManagement&gt;
     &lt;dependencies&gt;
        &lt;dependency&gt;
           &lt;groupId&gt;mod2.commons&lt;/groupId&gt;
           &lt;artifactId&gt;mod2.commons.lang&lt;/groupId&gt;
           &lt;version&gt;${mod2.version}&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
           &lt;groupId&gt;mod2.commons&lt;/groupId&gt;
           &lt;artifactId&gt;mod2.commons.audit&lt;/groupId&gt;
           &lt;version&gt;${mod2.version}&lt;/version&gt;
        &lt;/dependency&gt;
      &lt;/dependencies&gt;
  &lt;/dependencyManagement&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>To recap - I'm trying to get version mod2 version 3.2 from <code>7.169.72.8</code> but all I can pull in mod2 version 2.3 from the <code>serenity</code> repo.  Thanks for any help.</p>