You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2019/07/01 13:26:03 UTC

[maven-site] 01/01: [MNG-6432] Add warning about whitespace in mirrorOf

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

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

commit 723a9a867214c4404bf29294bca084cbcd74014b
Author: Elias Elmqvist Wulcan <el...@truesec.se>
AuthorDate: Mon Jul 1 11:23:50 2019 +0200

    [MNG-6432] Add warning about whitespace in mirrorOf
    
    This closes #10
---
 content/apt/guides/mini/guide-mirror-settings.apt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/content/apt/guides/mini/guide-mirror-settings.apt b/content/apt/guides/mini/guide-mirror-settings.apt
index 80900d0..094adf9 100644
--- a/content/apt/guides/mini/guide-mirror-settings.apt
+++ b/content/apt/guides/mini/guide-mirror-settings.apt
@@ -122,6 +122,10 @@ Advanced Mirror Specification
 
  []
 
+  Be careful not to include extra whitespace around identifiers or wildcards in comma separated lists. For example,
+  a mirror with <<<<mirrorOf>>>> set to <<<!repo1, *>>> will not mirror anything while <<<!repo1,*>>> will mirror
+  everything but <<<repo1>>>.
+
   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.