You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by pk...@apache.org on 2026/05/10 09:47:02 UTC
(logging-log4j2) branch 2.x updated: Restrict JUnit dependencies to below version 6.x to maintain compatib… (#4120)
This is an automated email from the ASF dual-hosted git repository.
ppkarwasz pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/2.x by this push:
new 75d7cf9a7a Restrict JUnit dependencies to below version 6.x to maintain compatib… (#4120)
75d7cf9a7a is described below
commit 75d7cf9a7abda3c9b01d34307d78c85aad6707de
Author: Ramanathan <ra...@gmail.com>
AuthorDate: Sun May 10 15:16:57 2026 +0530
Restrict JUnit dependencies to below version 6.x to maintain compatib… (#4120)
* Restrict JUnit dependencies to below version 6.x to maintain compatibility with Java 8
* Update JUnit dependency restrictions for compatibility with Java 8 on 2.x
---
.github/dependabot.yaml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml
index 3dfa7865b7..5c0cd9abb2 100644
--- a/.github/dependabot.yaml
+++ b/.github/dependabot.yaml
@@ -131,6 +131,15 @@ updates:
# Kafka 4.x is not compatible with our appender
- dependency-name: "org.apache.kafka:*"
versions: [ "[4,)" ]
+ # Keep JUnit below 6.x on 2.x: JUnit 6+ requires Java 17 and breaks Java 8 test runs
+ - dependency-name: "org.junit:junit-bom"
+ versions: [ "[6,)" ]
+ - dependency-name: "org.junit.jupiter:*"
+ versions: [ "[6,)" ]
+ - dependency-name: "org.junit.platform:*"
+ versions: [ "[6,)" ]
+ - dependency-name: "org.junit.vintage:*"
+ versions: [ "[6,)" ]
- package-ecosystem: maven
directories: