From ecf922be0763eaf252279cc4242b7ffcd3d9c536 Mon Sep 17 00:00:00 2001 From: Oliver Wolff <23139298+cuioss@users.noreply.github.com> Date: Tue, 8 Sep 2026 11:49:06 +0200 Subject: [PATCH] chore(deps): drop the jakarta.annotation-api pin the imported BOM already sets This pom declares jakarta.annotation-api at a literal 3.0.0 in its own dependencyManagement, and then - three lines further down, in the same block - imports de.cuioss:java-ee-10-bom, which manages that exact coordinate at that exact version via version.jakarta.annotation-api. A directly declared entry outranks an imported BOM regardless of order, so the local pin was silently shadowing the import while agreeing with it. That is the worst of both: it looks like a deliberate override, and it would keep looking like one the day the BOM's value moves. Verified: dependency:list -DincludeScope=test is byte-identical before and after, with jakarta.annotation:jakarta.annotation-api:jar:3.0.0:provided still present, now sourced from the import. clean install BUILD SUCCESS. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01FS7nXoXh43D2EzEAkn3APT --- pom.xml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pom.xml b/pom.xml index 30dfc01..f1d6c84 100644 --- a/pom.xml +++ b/pom.xml @@ -52,12 +52,6 @@ pom import - - jakarta.annotation - jakarta.annotation-api - 3.0.0 - provided - de.cuioss java-ee-10-bom