This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch maven-install-plugin-4.x
in repository https://gitbox.apache.org/repos/asf/maven-install-plugin.git
The following commit(s) were added to refs/heads/maven-install-plugin-4.x by
this push:
new b0cc87d Take the JUnit version from the parent's versions.junit
b0cc87d is described below
commit b0cc87d916392f0425b2c8f87dc94e5646f2af0b
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Tue Nov 3 20:21:59 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 6439a9a..8dcf15c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -72,6 +72,10 @@
<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 bound -->
<slf4jVersion>2.0.20</slf4jVersion>
@@ -80,7 +84,6 @@
<!-- version.maven-surefire was renamed to surefire.version in apache
parent 40;
keep the old property name as an alias so IT poms using
@version.maven-surefire@ keep working -->
<version.maven-surefire>${surefire.version}</version.maven-surefire>
- <junitVersion>6.1.3</junitVersion>
<mockitoVersion>5.24.0</mockitoVersion>
<version.plexus-xml>4.0.1</version.plexus-xml>
<version.maven-plugin-tools>4.0.0-beta-2</version.maven-plugin-tools>
@@ -101,13 +104,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>