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/21 11:36:26 UTC
(maven) branch ns updated: Add missing namespace to integratioon tests
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a commit to branch ns
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/ns by this push:
new 37ed126ff6 Add missing namespace to integratioon tests
37ed126ff6 is described below
commit 37ed126ff6f5fdaa0e15ca7fb37edb40580ad8ae
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Mon Jul 21 07:36:17 2025 -0400
Add missing namespace to integratioon tests
---
.../java/org/apache/maven/it/MavenITmng2305MultipleProxiesTest.java | 2 +-
.../test/java/org/apache/maven/it/MavenITmng3461MirrorMatchingTest.java | 2 +-
.../maven/it/MavenITmng4326LocalSnapshotSuppressesRemoteCheckTest.java | 2 +-
.../apache/maven/it/MavenITmng4343MissingReleaseUpdatePolicyTest.java | 2 +-
.../test/java/org/apache/maven/it/MavenITmng4360WebDavSupportTest.java | 2 +-
.../java/org/apache/maven/it/MavenITmng4428FollowHttpRedirectTest.java | 2 +-
.../maven/it/MavenITmng5280SettingsProfilesRepositoriesOrderTest.java | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2305MultipleProxiesTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2305MultipleProxiesTest.java
index e4dc280ebb..35fefebd63 100644
--- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2305MultipleProxiesTest.java
+++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2305MultipleProxiesTest.java
@@ -147,7 +147,7 @@ public void handle(String target, Request baseRequest, HttpServletRequest reques
// HTTP connector serves only http-0.1.jar and HTTPS connector serves only https-0.1.jar
response.setStatus(HttpServletResponse.SC_NOT_FOUND);
} else if (uri.endsWith(".pom")) {
- writer.println("<project xmlns="http://maven.apache.org/POM/4.0.0">");
+ writer.println("<project xmlns=\"http://maven.apache.org/POM/4.0.0\">");
writer.println(" <modelVersion>4.0.0</modelVersion>");
writer.println(" <groupId>org.apache.maven.its.mng2305</groupId>");
writer.println(" <artifactId>" + request.getScheme() + "</artifactId>");
diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3461MirrorMatchingTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3461MirrorMatchingTest.java
index e746cc7311..6db4b7eacd 100644
--- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3461MirrorMatchingTest.java
+++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3461MirrorMatchingTest.java
@@ -91,7 +91,7 @@ public void handle(
response.getWriter().println(request.getRequestURI());
} else if (request.getRequestURI().endsWith("/b-0.1.pom")) {
response.setStatus(HttpServletResponse.SC_OK);
- response.getWriter().println("<project xmlns="http://maven.apache.org/POM/4.0.0">");
+ response.getWriter().println("<project xmlns=\"http://maven.apache.org/POM/4.0.0\">");
response.getWriter().println(" <modelVersion>4.0.0</modelVersion>");
response.getWriter().println(" <groupId>org.apache.maven.its.mng3461</groupId>");
response.getWriter().println(" <artifactId>b</artifactId>");
diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4326LocalSnapshotSuppressesRemoteCheckTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4326LocalSnapshotSuppressesRemoteCheckTest.java
index 1e12107ae6..b360b745c0 100644
--- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4326LocalSnapshotSuppressesRemoteCheckTest.java
+++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4326LocalSnapshotSuppressesRemoteCheckTest.java
@@ -107,7 +107,7 @@ public void handle(
writer.println("</metadata>");
} else if (uri.endsWith(".pom")) {
response.setStatus(HttpServletResponse.SC_OK);
- writer.println("<project xmlns="http://maven.apache.org/POM/4.0.0">");
+ writer.println("<project xmlns=\"http://maven.apache.org/POM/4.0.0\">");
writer.println(" <modelVersion>4.0.0</modelVersion>");
writer.println(" <groupId>org.apache.maven.its.mng4326</groupId>");
writer.println(" <artifactId>dep</artifactId>");
diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4343MissingReleaseUpdatePolicyTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4343MissingReleaseUpdatePolicyTest.java
index c451005ccd..cf97715abc 100644
--- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4343MissingReleaseUpdatePolicyTest.java
+++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4343MissingReleaseUpdatePolicyTest.java
@@ -79,7 +79,7 @@ public void handle(
response.setStatus(HttpServletResponse.SC_OK);
if (request.getRequestURI().endsWith(".pom")) {
- writer.println("<project xmlns="http://maven.apache.org/POM/4.0.0">");
+ writer.println("<project xmlns=\"http://maven.apache.org/POM/4.0.0\">");
writer.println(" <modelVersion>4.0.0</modelVersion>");
writer.println(" <groupId>org.apache.maven.its.mng4343</groupId>");
writer.println(" <artifactId>dep</artifactId>");
diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4360WebDavSupportTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4360WebDavSupportTest.java
index a2af294065..ec26469207 100644
--- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4360WebDavSupportTest.java
+++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4360WebDavSupportTest.java
@@ -89,7 +89,7 @@ public void handle(
response.setStatus(HttpServletResponse.SC_OK);
if (request.getRequestURI().endsWith(".pom")) {
- writer.println("<project xmlns="http://maven.apache.org/POM/4.0.0">");
+ writer.println("<project xmlns=\"http://maven.apache.org/POM/4.0.0\">");
writer.println(" <modelVersion>4.0.0</modelVersion>");
writer.println(" <groupId>org.apache.maven.its.mng4360</groupId>");
writer.println(" <artifactId>dep</artifactId>");
diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4428FollowHttpRedirectTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4428FollowHttpRedirectTest.java
index ae18a04b2d..541a017807 100644
--- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4428FollowHttpRedirectTest.java
+++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4428FollowHttpRedirectTest.java
@@ -186,7 +186,7 @@ public void handle(String target, Request baseRequest, HttpServletRequest reques
}
response.setHeader("Location", location);
} else if (uri.endsWith(".pom")) {
- writer.println("<project xmlns="http://maven.apache.org/POM/4.0.0">");
+ writer.println("<project xmlns=\"http://maven.apache.org/POM/4.0.0\">");
writer.println(" <modelVersion>4.0.0</modelVersion>");
writer.println(" <groupId>org.apache.maven.its.mng4428</groupId>");
writer.println(" <artifactId>dep</artifactId>");
diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5280SettingsProfilesRepositoriesOrderTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5280SettingsProfilesRepositoriesOrderTest.java
index 7cff0fc33b..d89f092671 100644
--- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5280SettingsProfilesRepositoriesOrderTest.java
+++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5280SettingsProfilesRepositoriesOrderTest.java
@@ -148,7 +148,7 @@ public void handle(String target, Request baseRequest, HttpServletRequest reques
PrintWriter writer = response.getWriter();
if (uri.endsWith(".pom")) {
- writer.println("<project xmlns="http://maven.apache.org/POM/4.0.0">");
+ writer.println("<project xmlns=\"http://maven.apache.org/POM/4.0.0\">");
writer.println(" <modelVersion>4.0.0</modelVersion>");
writer.println(" <groupId>org.apache.maven.its.mng5280</groupId>");
writer.println(" <artifactId>fake-artifact</artifactId>");