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

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


The following commit(s) were added to refs/heads/namespace by this push:
     new 0655cb7b8f fix tests
0655cb7b8f is described below

commit 0655cb7b8f3845b1035ae77fe881dc3809589c61
Author: Elliotte Rusty Harold <[email protected]>
AuthorDate: Sat Jul 19 07:37:47 2025 -0400

    fix tests
---
 impl/maven-core/src/test/resources/consumer/simple/pom.xml               | 1 +
 impl/maven-core/src/test/resources/consumer/simple/simple-parent/pom.xml | 1 +
 .../test/resources/consumer/simple/simple-parent/simple-weather/pom.xml  | 1 +
 impl/maven-core/src/test/resources/consumer/trivial/pom.xml              | 1 +
 .../src/test/resources/projects/subprojects-discover/child/pom.xml       | 1 +
 impl/maven-core/src/test/resources/projects/subprojects-discover/pom.xml | 1 +
 impl/maven-core/src/test/resources/projects/tree/consumer/pom.xml        | 1 +
 impl/maven-core/src/test/resources/projects/tree/pom.xml                 | 1 +
 .../resources/mng-6656-buildconsumer/expected/simple-weather-build.pom   | 1 +
 its/core-it-suite/src/test/resources/mng-6656-buildconsumer/pom.xml      | 1 +
 10 files changed, 10 insertions(+)

diff --git a/impl/maven-core/src/test/resources/consumer/simple/pom.xml 
b/impl/maven-core/src/test/resources/consumer/simple/pom.xml
index baebc01e4b..6c8f84060c 100644
--- a/impl/maven-core/src/test/resources/consumer/simple/pom.xml
+++ b/impl/maven-core/src/test/resources/consumer/simple/pom.xml
@@ -19,6 +19,7 @@ under the License.
 -->
 <project root="true" xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
https://maven.apache.org/xsd/maven-4.1.0.xsd";>
+  <modelVersion>4.1.0</modelVersion>
   <groupId>org.sonatype.mavenbook.multi</groupId>
   <artifactId>parent</artifactId>
   <version>0.9-${changelist}-SNAPSHOT</version>
diff --git 
a/impl/maven-core/src/test/resources/consumer/simple/simple-parent/pom.xml 
b/impl/maven-core/src/test/resources/consumer/simple/simple-parent/pom.xml
index d72ea43698..4ab9d18ed7 100644
--- a/impl/maven-core/src/test/resources/consumer/simple/simple-parent/pom.xml
+++ b/impl/maven-core/src/test/resources/consumer/simple/simple-parent/pom.xml
@@ -22,6 +22,7 @@ under the License.
     <groupId>org.sonatype.mavenbook.multi</groupId>
     <artifactId>parent</artifactId>
   </parent>
+  <modelVersion>4.1.0</modelVersion>
   <artifactId>simple-parent</artifactId>
   <packaging>pom</packaging>
   <name>Multi Chapter Simple Parent Project</name>
diff --git 
a/impl/maven-core/src/test/resources/consumer/simple/simple-parent/simple-weather/pom.xml
 
b/impl/maven-core/src/test/resources/consumer/simple/simple-parent/simple-weather/pom.xml
index 9a0db068a4..c022e3f292 100644
--- 
a/impl/maven-core/src/test/resources/consumer/simple/simple-parent/simple-weather/pom.xml
+++ 
b/impl/maven-core/src/test/resources/consumer/simple/simple-parent/simple-weather/pom.xml
@@ -31,6 +31,7 @@ under the License.
     <dependency>
       <groupId>org.sonatype.mavenbook.multi</groupId>
       <artifactId>simple-testutils</artifactId>
+      <version>0.9-MNG6656-SNAPSHOT</version>
       <scope>test</scope>
     </dependency>
   </dependencies>
diff --git a/impl/maven-core/src/test/resources/consumer/trivial/pom.xml 
b/impl/maven-core/src/test/resources/consumer/trivial/pom.xml
index 6b741474f7..f0a86b6345 100644
--- a/impl/maven-core/src/test/resources/consumer/trivial/pom.xml
+++ b/impl/maven-core/src/test/resources/consumer/trivial/pom.xml
@@ -3,6 +3,7 @@
   <artifactId>parent</artifactId>
   <version>1.0-SNAPSHOT</version>
   <packaging>pom</packaging>
+  <modelVersion>4.1.0</modelVersion>
 
   <subprojects>
     <subproject>child</subproject>
diff --git 
a/impl/maven-core/src/test/resources/projects/subprojects-discover/child/pom.xml
 
b/impl/maven-core/src/test/resources/projects/subprojects-discover/child/pom.xml
index 8f6112ffbc..0e120405c5 100644
--- 
a/impl/maven-core/src/test/resources/projects/subprojects-discover/child/pom.xml
+++ 
b/impl/maven-core/src/test/resources/projects/subprojects-discover/child/pom.xml
@@ -3,6 +3,7 @@
     <groupId>subprojects-discover</groupId>
     <artifactId>parent</artifactId>
   </parent>
+  <modelVersion>4.1.0</modelVersion>
   <artifactId>child</artifactId>
   <packaging>jar</packaging>
 </project>
diff --git 
a/impl/maven-core/src/test/resources/projects/subprojects-discover/pom.xml 
b/impl/maven-core/src/test/resources/projects/subprojects-discover/pom.xml
index 18ba46729b..df5371c415 100644
--- a/impl/maven-core/src/test/resources/projects/subprojects-discover/pom.xml
+++ b/impl/maven-core/src/test/resources/projects/subprojects-discover/pom.xml
@@ -1,4 +1,5 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0";>
+  <modelVersion>4.1.0</modelVersion>
   <groupId>subprojects-discover</groupId>
   <artifactId>parent</artifactId>
   <version>1</version>
diff --git a/impl/maven-core/src/test/resources/projects/tree/consumer/pom.xml 
b/impl/maven-core/src/test/resources/projects/tree/consumer/pom.xml
index c527112307..a04df58b36 100644
--- a/impl/maven-core/src/test/resources/projects/tree/consumer/pom.xml
+++ b/impl/maven-core/src/test/resources/projects/tree/consumer/pom.xml
@@ -10,6 +10,7 @@
         <dependency>
             <groupId>org.apache.maven.ut</groupId>
             <artifactId>dep</artifactId>
+            <version>1.0-SNAPSHOT</version>
         </dependency>
     </dependencies>
 
diff --git a/impl/maven-core/src/test/resources/projects/tree/pom.xml 
b/impl/maven-core/src/test/resources/projects/tree/pom.xml
index f9a69b4710..bda3404ba3 100644
--- a/impl/maven-core/src/test/resources/projects/tree/pom.xml
+++ b/impl/maven-core/src/test/resources/projects/tree/pom.xml
@@ -1,4 +1,5 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0"; root="true">
+    <modelVersion>4.1.0</modelVersion>
     <groupId>org.apache.maven.ut</groupId>
     <artifactId>parent</artifactId>
     <version>1.0-SNAPSHOT</version>
diff --git 
a/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-weather-build.pom
 
b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-weather-build.pom
index cbd3e9e2b4..35c6ba3e14 100644
--- 
a/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-weather-build.pom
+++ 
b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-weather-build.pom
@@ -18,6 +18,7 @@ specific language governing permissions and limitations
 under the License.
 -->
 <project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
https://maven.apache.org/maven-v4_1_0.xsd";>
+  <modelVersion>4.1.0</modelVersion>
   <parent />
   <artifactId>simple-weather</artifactId>
   <packaging>jar</packaging>
diff --git 
a/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/pom.xml 
b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/pom.xml
index 1450298867..771dca9fd1 100644
--- a/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/pom.xml
@@ -18,6 +18,7 @@ specific language governing permissions and limitations
 under the License.
 -->
 <project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; root="true" 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
https://maven.apache.org/maven-v4_1_0.xsd";>
+  <modelVersion>4.1.0</modelVersion>
   <groupId>org.sonatype.mavenbook.multi</groupId>
   <artifactId>parent</artifactId>
   <version>0.9-${changelist}-SNAPSHOT</version>

Reply via email to