mirror of
https://github.com/apache/archiva.git
synced 2025-02-21 17:35:19 +00:00
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:
parent
8d439b8f77
commit
bf18436402
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user