]> source.dussan.org Git - archiva.git/commitdiff
change to external:* and add link to Maven's mirror settings guide
authorBrett Porter <brett@apache.org>
Thu, 25 Aug 2011 02:14:49 +0000 (02:14 +0000)
committerBrett Porter <brett@apache.org>
Thu, 25 Aug 2011 02:14:49 +0000 (02:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161361 13f79535-47bb-0310-9956-ffa450edef68

archiva-docs/src/site/apt/userguide/using-repository.apt

index bc05ce4f11f985e3cd34a356a88a788fae933450..c61e979ec1dc5f1c65fa16d2c35eed7b88191e0c 100644 (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: