You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by de...@apache.org on 2007/07/25 17:40:03 UTC

svn commit: r559495 - /maven/site/trunk/src/site/apt/guides/mini/guide-mirror-settings.apt

Author: dennisl
Date: Wed Jul 25 08:40:01 2007
New Revision: 559495

URL: http://svn.apache.org/viewvc?view=rev&rev=559495
Log:
o Clarify the section on how to specify a mirror.
o Remove duplicate info regarding how to set up a mirror and get it listed.
o Add some formating.

Modified:
    maven/site/trunk/src/site/apt/guides/mini/guide-mirror-settings.apt

Modified: maven/site/trunk/src/site/apt/guides/mini/guide-mirror-settings.apt
URL: http://svn.apache.org/viewvc/maven/site/trunk/src/site/apt/guides/mini/guide-mirror-settings.apt?view=diff&rev=559495&r1=559494&r2=559495
==============================================================================
--- maven/site/trunk/src/site/apt/guides/mini/guide-mirror-settings.apt (original)
+++ maven/site/trunk/src/site/apt/guides/mini/guide-mirror-settings.apt Wed Jul 25 08:40:01 2007
@@ -21,19 +21,14 @@
     * You want to run maven-proxy to provide a local cache to a mirror and need to use it's URL instead
 
  To configure a mirror of a given repository, you provide it in your settings file ($HOME/.m2/settings.xml),
- giving the new repository it's 
- own id and url , and specify the mirrorOf setting that is the ID of the repository you are using a
- mirror of. For example, the ID of the main Maven repository included by default is central, so to use
- a mirror, you would configure the following:
-
- If you are interested in mirroring the repository and be listed here, please contact us at the
- {{{mailto:users@maven.apache.org}Maven Users List}}.
+ giving the new repository its 
+ own <<<id>>> and <<<url>>>, and specify the <<<mirrorOf>>> setting that is the ID of the repository you are using a
+ mirror of. For example, the ID of the main Maven repository included by default is <<<central>>>, so to use
+ the mirror at <ibiblio>, you would configure the following:
 
 +-----+
-
 <settings>
   .
-  .
   <mirrors>
     <mirror>
       <id>ibiblio.org</id>
@@ -43,22 +38,18 @@
     </mirror>
   </mirrors>
   .
-  .
 </settings>
-
 +-----+
 
  The settings descriptor documentation can be found {{{../../maven-settings/settings.html}here}}.
 
+ <<Note>>: The official Maven 2 repository is at <http://repo1.maven.org/maven2>, the following mirrors may not have the same contents
+ and we don't support them in any way, although we try to keep info in this page accurate.
 
  As of today, the following mirrors are available:
- <<Note>>: The official Maven 2 repository is at http://repo1.maven.org/maven2, the following mirrors may not have the same contents
- and we don't support them in any way, although we try to keep info in this page accurate
 
 +-----+
-
 <settings>
-
   <mirrors>
     <mirror>
       <id>ibiblio.org</id>
@@ -123,9 +114,7 @@
       <!-- The Netherlands, Amsterdam -->
     </mirror>
   </mirrors>
-
 </settings>
-
 +-----+
 
 Using A Single Repository
@@ -136,13 +125,11 @@
 
   To achieve this, set <<<mirrorOf>>> to <<<*>>>.
 
-  <This feature is only available from Maven 2.0.5+>
+  <<Note:>> This feature is only available in Maven 2.0.5+.
 
 +-----+
-
 <settings>
   .
-  .
   <mirrors>
     <mirror>
       <id>internal-repository</id>
@@ -152,15 +139,13 @@
     </mirror>
   </mirrors>
   .
-  .
 </settings>
-
 +-----+
 
 
 FTP access
 
-  The repository is available through FTP at ftp://mirrors.ibiblio.org/pub/packages/maven2
+  The repository is available through FTP at <ftp://mirrors.ibiblio.org/pub/packages/maven2>
 
 
 Creating your own mirror
@@ -170,10 +155,8 @@
   You can mirror the central repository using rsync from several mirrors, choose one
 
 +-----+
-
 rsync -v -t -l -r mirrors.ibiblio.org::maven2 /your/local/path
 rsync -v -t -l -r rsync://rsync.cica.es/maven2 /your/local/path
-
 +-----+
 
-  If you want to become an official mirror, email us to dev@maven.apache.org with your location and we'll add you to the list of mirrors.
+  If you want to become an official mirror, email us to <de...@maven.apache.org> with your location and we'll add you to the list of mirrors.