Did You try something like this:
  <mirrors>
    <mirror>
      <id>shapshot-mirrors</id>
      <name>Snapshot Mirros</name>
      <url>http://snapshots.mycompany.com/repo</url>
      <mirrorOf>*-snapshots</mirrorOf>
    </mirror>
    <mirror>
      <id>release-mirrors</id>
      <name>Release Mirros</name>
      <url>http://releases.mycompany.com/repo</url>
      <mirrorOf>*-releases</mirrorOf>
      <!--
        Or maybe:
        <mirrorOf>!*-snapshots</mirrorOf>
      -->
    </mirror>
    <mirror>
      <!-- OPTIONAL!!! -->
      <id>thirdparty-mirrors</id>
      <name>Thirdparty Mirros</name>
      <url>http://proxy.mycompany.com/repo</url>
      <mirrorOf>!*-releases,!*-snapshots</mirrorOf>
    </mirror>
  </mirrors>

I didn't double-check, but I'd say this should work ...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to