Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions content/apt/guides/mini/guide-mirror-settings.apt
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Advanced Mirror Specification
A single mirror can handle multiple repositories. This is typically used in conjunction with a repository manager,
that gives easy centralised configuration of the list of repositories behind.

The syntax as of Maven 2.0.9:
The syntax:

* <<<\*>>> matches all repo ids.

Expand All @@ -131,7 +131,7 @@ Advanced Mirror Specification
The position of wildcards within a comma separated list of repository identifiers is not important as the wildcards
defer to further processing and explicit includes or excludes stop the processing, overruling any wildcard match.

When you use the advanced syntax and configure multiple mirrors, keep in mind that their declaration order matters.
When you use the advanced syntax and configure multiple mirrors, the declaration order matters.
When Maven looks for a mirror of some repository, it first checks for a mirror whose <<<\<mirrorOf\>>>> exactly
matches the repository identifier. If no direct match is found, Maven picks the first mirror declaration that matches
according to the rules above (if any). Hence, you may influence match order by changing the order of the definitions
Expand All @@ -149,8 +149,6 @@ Advanced Mirror Specification

[]

<<Note:>> This feature is only available in Maven 2.0.9+.

+-----+
<settings>
...
Expand All @@ -176,7 +174,7 @@ Creating Your Own Mirror

The size of the central repository is {{{http://search.maven.org/stats}increasing steadily}}
To save us bandwidth and you time, mirroring the entire central repository is not allowed.
(Doing so will get you automatically banned) Instead, we suggest you setup a
(Doing so will get you automatically banned.) Instead, we suggest you setup a
{{{../../repository-management.html}repository manager}} as a proxy.

If you really want to become an official mirror, contact us at {{{https://issues.sonatype.org/browse/MVNCENTRAL}MVNCENTRAL}} with your location and we'll work to get you setup.
If you really want to become an official mirror, contact Sonatype at {{{https://issues.sonatype.org/browse/MVNCENTRAL}MVNCENTRAL}} with your location and we'll work to get you setup.