This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch maven-jar-plugin-4.x
in repository https://gitbox.apache.org/repos/asf/maven-jar-plugin.git
The following commit(s) were added to refs/heads/maven-jar-plugin-4.x by this
push:
new 925a78d Take the JUnit version from the parent's versions.junit
925a78d is described below
commit 925a78d403232a81bec74c72c2c64dd07a6a6ec9
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Tue Nov 3 20:21:53 2026 +0000
Take the JUnit version from the parent's versions.junit
The parent already imports the JUnit BOM; this line only sets the
version, as the other Maven 4 lines do.
---
pom.xml | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/pom.xml b/pom.xml
index db71e9f..a5c9b1c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -94,10 +94,13 @@
<properties>
<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>
<mavenVersion>4.0.0-rc-7</mavenVersion>
<maven.site.path.suffix>LATEST-4.x</maven.site.path.suffix>
- <junitVersion>6.1.3</junitVersion>
<mavenArchiverVersion>4.0.0-beta-6</mavenArchiverVersion>
<mavenFileManagementVersion>3.2.0</mavenFileManagementVersion>
<mavenPluginPluginVersion>4.0.0-beta-1</mavenPluginPluginVersion>
@@ -116,13 +119,6 @@
<artifactId>guava</artifactId>
<version>33.7.2-jre</version>
</dependency>
- <dependency>
- <groupId>org.junit</groupId>
- <artifactId>junit-bom</artifactId>
- <version>${junitVersion}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
</dependencies>
</dependencyManagement>