You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2021/03/14 10:39:21 UTC

[maven-site] branch master updated: add a note about mirrors

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git


The following commit(s) were added to refs/heads/master by this push:
     new e087386  add a note about mirrors
e087386 is described below

commit e08738600f620ba199d736885e657b89bc23084d
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sun Mar 14 11:39:17 2021 +0100

    add a note about mirrors
---
 content/apt/guides/mini/guide-mirror-settings.apt       | 2 +-
 content/apt/guides/mini/guide-multiple-repositories.apt | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/content/apt/guides/mini/guide-mirror-settings.apt b/content/apt/guides/mini/guide-mirror-settings.apt
index effe3e2..42896f6 100644
--- a/content/apt/guides/mini/guide-mirror-settings.apt
+++ b/content/apt/guides/mini/guide-mirror-settings.apt
@@ -172,7 +172,7 @@ Advanced Mirror Specification
 
 Creating Your Own Mirror
 
-  The size of the central repository is {{{http://search.maven.org/#stats}increasing steadily}}
+  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
   {{{../../repository-management.html}repository manager}} as a proxy.
diff --git a/content/apt/guides/mini/guide-multiple-repositories.apt b/content/apt/guides/mini/guide-multiple-repositories.apt
index c088313..6cecadd 100644
--- a/content/apt/guides/mini/guide-multiple-repositories.apt
+++ b/content/apt/guides/mini/guide-multiple-repositories.apt
@@ -128,6 +128,8 @@ mvn -Pmyprofile ...
   []
 
   For each of these locations, the repositories within the profiles are queried first in the order outlined at {{{../introduction/introduction-to-profiles.html}Introduction to build profiles}}.
+  
+  Before downloading from a repository, {{{./guide-mirror-settings.html}mirrors configuration}} is applied.
 
   Effective settings and local build POM, with profile taken into account, can easily be reviewed to see their repositories order with
   <<<mvn help:effective-settings>>> and <<<mvn help:effective-pom -Dverbose>>>.