Revert "Upgrade to Jakarta Annotation 3.0.0"

This reverts commit 43c80db4f6
and adds a prohibit upgrade rule.
This commit is contained in:
Phillip Webb
2025-02-04 18:35:34 -08:00
parent 96c312c7aa
commit 2b5d8a4813

View File

@@ -671,7 +671,11 @@ bom {
releaseNotes("https://github.com/jakartaee/jaf-api/releases/tag/{version}")
}
}
library("Jakarta Annotation", "3.0.0") {
library("Jakarta Annotation", "2.1.1") {
prohibit {
versionRange "[3.0.0,4.0.0]"
because "it's part of Jakarta EE 11"
}
group("jakarta.annotation") {
modules = [
"jakarta.annotation-api"