This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/master by this push:
new 7f60e02f6c Keep Dependabot on jakarta.annotation-api 1.x on all
branches
7f60e02f6c is described below
commit 7f60e02f6c019b32632e2f93b3415e4fc6a6378c
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Fri Nov 6 21:11:54 2026 +0100
Keep Dependabot on jakarta.annotation-api 1.x on all branches
2.0 renames the javax.annotation packages that maven-core exports to
plugins and extensions.
---
.github/dependabot.yml | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 689bccada1..34451f050c 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -21,6 +21,11 @@ updates:
directory: "/"
schedule:
interval: "daily"
+ ignore:
+ # jakarta.annotation-api 2.0+ moves javax.annotation to
jakarta.annotation;
+ # maven-core exports javax.annotation.* to plugins
+ - dependency-name: "jakarta.annotation:jakarta.annotation-api"
+ versions: [ "[2.0.0,)" ]
- package-ecosystem: "maven"
directory: "/"
@@ -30,6 +35,11 @@ updates:
labels:
- "mvn40"
- "dependencies"
+ ignore:
+ # jakarta.annotation-api 2.0+ moves javax.annotation to
jakarta.annotation;
+ # maven-core exports javax.annotation.* to plugins
+ - dependency-name: "jakarta.annotation:jakarta.annotation-api"
+ versions: [ "[2.0.0,)" ]
- package-ecosystem: "maven"
directory: "/"
@@ -47,6 +57,10 @@ updates:
# Mockito 5 requires Java 11; the build still runs on JDK 8
- dependency-name: "org.mockito:*"
versions: [">= 5.0.0"]
+ # jakarta.annotation-api 2.0+ moves javax.annotation to
jakarta.annotation;
+ # maven-core exports javax.annotation.* to plugins
+ - dependency-name: "jakarta.annotation:jakarta.annotation-api"
+ versions: [ "[2.0.0,)" ]
- package-ecosystem: "maven"
directory: "/"
@@ -66,6 +80,10 @@ updates:
# Mockito 5 requires Java 11; the build still runs on JDK 8
- dependency-name: "org.mockito:*"
versions: [">= 5.0.0"]
+ # jakarta.annotation-api 2.0+ moves javax.annotation to
jakarta.annotation;
+ # maven-core exports javax.annotation.* to plugins
+ - dependency-name: "jakarta.annotation:jakarta.annotation-api"
+ versions: [ "[2.0.0,)" ]
- package-ecosystem: "github-actions"
directory: "/"