change to external:* and add link to Maven's mirror settings guide

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161361 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2011-08-25 02:14:49 +00:00
parent 8d439b8f77
commit bf18436402

View File

@ -22,13 +22,17 @@ Configuring Maven 2 to use an Archiva repository
<mirror>
<id>archiva.default</id>
<url>http://repo.mycompany.com:8080/archiva/repository/internal/</url>
<mirrorOf>*</mirrorOf>
<mirrorOf>external:*</mirrorOf>
</mirror>
</mirrors>
...
</settings>
+-------------------------------------------------------------------------+
<<Note:>> <There are other controls you can use on what is mirrored. See Maven's
{{{http://maven.apache.org/guides/mini/guide-mirror-settings.html} Guide to
Mirror Settings}} for more information.>
With this in place, all repository requests will be sent to the internal repository (which by default is configured to proxy the central repository).
If you have separate Archiva repositories that you wish to use, you can add an extra mirror declaration as needed: