From 54c1b2f28a83d2255a28ccc174e60720f9fd4e21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Herv=C3=A9=20Boutemy?=
Date: Mon, 29 Jan 2024 16:54:04 +0100
Subject: [PATCH] [MNG-8029] improve documentation about mirror settings
---
apache-maven/src/site/site.xml | 5 -----
.../src/main/mdo/settings.mdo | 19 ++++++++++++++-----
maven-artifact/src/site/site.xml | 3 ---
maven-builder-support/src/site/site.xml | 3 ---
maven-compat/src/site/site.xml | 3 ---
.../maven/bridge/MavenRepositorySystem.java | 11 ++++++-----
maven-core/src/site/site.xml | 6 ------
maven-embedder/src/site/site.xml | 7 -------
maven-model-builder/src/site/site.xml | 7 -------
maven-model/src/site/site.xml | 3 ---
maven-plugin-api/src/site/site.xml | 3 ---
maven-repository-metadata/src/site/site.xml | 3 ---
maven-resolver-provider/src/site/site.xml | 3 ---
maven-settings-builder/src/site/site.xml | 3 ---
maven-settings/src/site/apt/index.apt | 12 ++++++++++++
maven-settings/src/site/site.xml | 3 ---
maven-slf4j-provider/src/site/site.xml | 3 ---
src/site/site.xml | 11 ++++++-----
18 files changed, 38 insertions(+), 70 deletions(-)
diff --git a/apache-maven/src/site/site.xml b/apache-maven/src/site/site.xml
index cd7807c147..71da9b0f1a 100644
--- a/apache-maven/src/site/site.xml
+++ b/apache-maven/src/site/site.xml
@@ -23,9 +23,4 @@ under the License.
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 http://maven.apache.org/xsd/decoration-1.8.0.xsd">
${project.scm.url}
-
-
-
-
-
\ No newline at end of file
diff --git a/api/maven-api-settings/src/main/mdo/settings.mdo b/api/maven-api-settings/src/main/mdo/settings.mdo
index 75862fb107..2135ae3e93 100644
--- a/api/maven-api-settings/src/main/mdo/settings.mdo
+++ b/api/maven-api-settings/src/main/mdo/settings.mdo
@@ -28,7 +28,7 @@
This is a reference for the user-specific configuration for Maven.
- Includes things that should not be distributed with the pom.xml file, such as developer identity, along with
+
Includes things that should not be distributed with the pom.xml
file, such as developer identity, along with
local settings, like proxy information.
The default location for the settings file is {@code ~/.m2/settings.xml}.
]]>
@@ -90,6 +90,7 @@
String
default
true
+ Item identifier.
@@ -125,7 +126,7 @@
usePluginRegistry
1.0.0+
- Whether Maven should use the plugin-registry.xml file to manage plugin versions.
+ Whether Maven should use the {@code plugin-registry.xml} file to manage plugin versions.
boolean
false
@@ -405,7 +406,7 @@
nonProxyHosts
1.0.0+
- The list of non-proxied hosts (delimited by |).
+ The list of non-proxied hosts (delimited by {@code |}).
String
@@ -541,8 +542,12 @@
1.0.0+
String
- The server ID of the repository being mirrored, e.g.,
- "central". This MUST NOT match the mirror id.
+ central or *,!repo1
.
+ *
(since Maven 2.0.5), external:*
(since Maven 2.0.9) and external:http:*
(since Maven 3.8.0) have
+ a special meaning: see Mirror Settings guide.
+ ]]>
@@ -586,7 +591,11 @@
boolean
false
+ Default value is: false
+
Since: Maven 3.8.0
+ ]]>
diff --git a/maven-artifact/src/site/site.xml b/maven-artifact/src/site/site.xml
index 8ffe43d07c..78e98089a6 100644
--- a/maven-artifact/src/site/site.xml
+++ b/maven-artifact/src/site/site.xml
@@ -31,8 +31,5 @@ under the License.
-
-
-