You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by gn...@apache.org on 2026/06/04 12:50:45 UTC
(maven) branch maven-4.0.x updated: Fix MavenITgh12184CIFriendlyParentVersionTest compilation on 4.0.x
This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch maven-4.0.x
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/maven-4.0.x by this push:
new 034800bcf9 Fix MavenITgh12184CIFriendlyParentVersionTest compilation on 4.0.x
034800bcf9 is described below
commit 034800bcf91da4a1964a496f21d3b191c72f21dc
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Thu Jun 4 12:50:21 2026 +0000
Fix MavenITgh12184CIFriendlyParentVersionTest compilation on 4.0.x
Add required super("[4.0.0-rc-1,)") constructor call. On 4.0.x,
AbstractMavenIntegrationTestCase has no no-arg constructor unlike
master, so cherry-picked tests need the version range argument.
Co-Authored-By: Claude Opus 4.6 <no...@anthropic.com>
---
.../apache/maven/it/MavenITgh12184CIFriendlyParentVersionTest.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITgh12184CIFriendlyParentVersionTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITgh12184CIFriendlyParentVersionTest.java
index 2ba11172c0..6e3cb956d4 100644
--- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITgh12184CIFriendlyParentVersionTest.java
+++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITgh12184CIFriendlyParentVersionTest.java
@@ -29,6 +29,10 @@
*/
class MavenITgh12184CIFriendlyParentVersionTest extends AbstractMavenIntegrationTestCase {
+ MavenITgh12184CIFriendlyParentVersionTest() {
+ super("[4.0.0-rc-1,)");
+ }
+
/**
* Verify that a multi-module project with {@code ${revision}} in parent version
* builds successfully when the property is defined in the parent POM properties.