You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2025/07/22 13:14:58 UTC

(maven-site) 01/01: Remove unneeded xsi:schemaLocation attributes

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

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

commit be61d099e651e8e3bd4c59793b6144a377ca379a
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Tue Jul 22 09:14:51 2025 -0400

    Remove unneeded xsi:schemaLocation attributes
---
 content/markdown/settings.md | 24 ++++++++----------------
 1 file changed, 8 insertions(+), 16 deletions(-)

diff --git a/content/markdown/settings.md b/content/markdown/settings.md
index f6d2fb7f..63364ac7 100644
--- a/content/markdown/settings.md
+++ b/content/markdown/settings.md
@@ -109,8 +109,7 @@ not provided in the command line. This list automatically contains
 `org.apache.maven.plugins` and `org.codehaus.mojo`.
 
 ```xml
-<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
+<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0">
   ...
   <pluginGroups>
     <pluginGroup>org.eclipse.jetty</pluginGroup>
@@ -134,8 +133,7 @@ should not be distributed along with the `pom.xml`. This type of
 information should exist on the build server in the `settings.xml`.
 
 ```xml
-<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
+<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0">
   ...
   <servers>
     <server>
@@ -181,8 +179,7 @@ page](./guides/mini/guide-encryption.html)
 ### Mirrors
 
 ```xml
-<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
+<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0">
   ...
   <mirrors>
     <mirror>
@@ -215,8 +212,7 @@ Mirror Settings](./guides/mini/guide-mirror-settings.html).
 ### Proxies
 
 ```xml
-<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
+<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0">
   ...
   <proxies>
     <proxy>
@@ -269,8 +265,7 @@ certain circumstances; those circumstances are specified via an
 `activation` element.
 
 ```xml
-<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
+<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0">
   <!-- ... -->
   <profiles>
     <profile>
@@ -358,8 +353,7 @@ all accessible from the `settings.xml` file:
 <!-- -->
 
 ```xml
-<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
+<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0">
   ...
   <profiles>
     <profile>
@@ -387,8 +381,7 @@ profile they may be searched for a matching release or snapshot
 artifact.
 
 ```xml
-<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
+<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0">
   ...
   <profiles>
     <profile>
@@ -468,8 +461,7 @@ Maven can find new plugins.
 ### Active Profiles
 
 ```xml
-<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
+<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0">
   ...
   <activeProfiles>
     <activeProfile>env-test</activeProfile>