You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/09/21 19:18:22 UTC

(maven-filtering) branch agent/dependabot-slf4j-mockito updated: Keep SLF4J on 1.7.x and Mockito on 4.x in Dependabot

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch agent/dependabot-slf4j-mockito
in repository https://gitbox.apache.org/repos/asf/maven-filtering.git


The following commit(s) were added to refs/heads/agent/dependabot-slf4j-mockito by this push:
     new 0b6a9fc  Keep SLF4J on 1.7.x and Mockito on 4.x in Dependabot
0b6a9fc is described below

commit 0b6a9fcf575abce63e3065cdc108e3c64850d687
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Mon Sep 21 21:18:13 2026 +0200

    Keep SLF4J on 1.7.x and Mockito on 4.x in Dependabot
---
 .github/dependabot.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index a1e98d4..0820bb7 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -31,6 +31,13 @@ updates:
       - "mvn3"
       - "java"
       - "dependencies"
+    ignore:
+      # Mockito >=5 requires Java 11+
+      - dependency-name: "org.mockito:*"
+        versions: [">= 5.0.0"]
+      # Maven 3 so use SLF4J 1.7.x
+      - dependency-name: "org.slf4j:*"
+        versions: [">= 2.0.0"]
 
   - package-ecosystem: "github-actions"
     directory: "/"