This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch 4.0.x
in repository https://gitbox.apache.org/repos/asf/maven-war-plugin.git
The following commit(s) were added to refs/heads/4.0.x by this push:
new 58c22f5 Run the tests on JUnit 6
58c22f5 is described below
commit 58c22f5bf6e48adcc0b44bad7c467e4a4c018ea4
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Tue Nov 3 19:53:25 2026 +0000
Run the tests on JUnit 6
JUnit 6 needs Java 17, which this Maven 4 line already requires.
---
pom.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/pom.xml b/pom.xml
index 04fc07f..84101a7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -79,6 +79,10 @@
<mavenFilteringVersion>4.0.0-beta-1</mavenFilteringVersion>
<mavenVersion>4.0.0-rc-5</mavenVersion>
<javaVersion>17</javaVersion>
+ <!-- JUnit 6 needs Java 17, which this Maven 4 line already requires -->
+ <versions.junit>6.1.3</versions.junit>
+ <!-- the name maven-parent 50 and older read -->
+ <versions.junit5>${versions.junit}</versions.junit5>
<guiceVersion>5.1.0</guiceVersion>
<plexusArchiverVersion>4.12.0</plexusArchiverVersion>
<version.maven-plugin-tools>4.0.0-beta-1</version.maven-plugin-tools>