This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-plugin-tools.git
The following commit(s) were added to refs/heads/master by this push:
new 4576f235 Upgrade Maven 4 dependency to 4.0.0-rc-4
4576f235 is described below
commit 4576f2352aedea8896c5ca2c44e73ba9be5a552d
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Tue Oct 14 22:04:14 2025 +0200
Upgrade Maven 4 dependency to 4.0.0-rc-4
---
maven-plugin-plugin/pom.xml | 1 +
maven-plugin-plugin/src/it/v4api-3x/verify.groovy | 2 +-
maven-plugin-plugin/src/it/v4api-4x/verify.groovy | 2 +-
pom.xml | 2 +-
4 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/maven-plugin-plugin/pom.xml b/maven-plugin-plugin/pom.xml
index 381ab7dd..c133c082 100644
--- a/maven-plugin-plugin/pom.xml
+++ b/maven-plugin-plugin/pom.xml
@@ -281,6 +281,7 @@
</extraArtifacts>
<scriptVariables>
<maven3Version>${maven3Version}</maven3Version>
+ <maven4Version>${maven4Version}</maven4Version>
</scriptVariables>
</configuration>
<executions>
diff --git a/maven-plugin-plugin/src/it/v4api-3x/verify.groovy
b/maven-plugin-plugin/src/it/v4api-3x/verify.groovy
index 40ba4d9a..1fed6978 100644
--- a/maven-plugin-plugin/src/it/v4api-3x/verify.groovy
+++ b/maven-plugin-plugin/src/it/v4api-3x/verify.groovy
@@ -25,7 +25,7 @@ assert descriptorFile.isFile()
def pluginDescriptor = new XmlParser().parse( descriptorFile );
assert pluginDescriptor.requiredJavaVersion.text() == '17'
-assert pluginDescriptor.requiredMavenVersion.text() == '4.0.0-rc-3'
+assert pluginDescriptor.requiredMavenVersion.text() == maven4Version
def mojo = pluginDescriptor.mojos.mojo.findAll{ it.goal.text() == "first" }[0]
diff --git a/maven-plugin-plugin/src/it/v4api-4x/verify.groovy
b/maven-plugin-plugin/src/it/v4api-4x/verify.groovy
index 40ba4d9a..1fed6978 100644
--- a/maven-plugin-plugin/src/it/v4api-4x/verify.groovy
+++ b/maven-plugin-plugin/src/it/v4api-4x/verify.groovy
@@ -25,7 +25,7 @@ assert descriptorFile.isFile()
def pluginDescriptor = new XmlParser().parse( descriptorFile );
assert pluginDescriptor.requiredJavaVersion.text() == '17'
-assert pluginDescriptor.requiredMavenVersion.text() == '4.0.0-rc-3'
+assert pluginDescriptor.requiredMavenVersion.text() == maven4Version
def mojo = pluginDescriptor.mojos.mojo.findAll{ it.goal.text() == "first" }[0]
diff --git a/pom.xml b/pom.xml
index 864f45d9..a7a3eb26 100644
--- a/pom.xml
+++ b/pom.xml
@@ -90,7 +90,7 @@
<properties>
<javaVersion>8</javaVersion>
<pluginTestingHarnessVersion>3.3.0</pluginTestingHarnessVersion>
- <maven4Version>4.0.0-rc-3</maven4Version>
+ <maven4Version>4.0.0-rc-4</maven4Version>
<maven3Version>3.9.11</maven3Version>
<resolverVersion>1.9.24</resolverVersion>
<slf4jVersion>1.7.36</slf4jVersion>