From 05cf98759436f3fec33b7482f7436a6adf973205 Mon Sep 17 00:00:00 2001 From: utzcoz Date: Sun, 16 Mar 2025 22:39:54 +0800 Subject: [PATCH] Migrate tomcat's annotation-api to a new version Migrate org.apache.tomcat:annotations-api to org.apache.tomcat:tommcat-annotations-api to use newer versions that rename javax.annotation to jakarta.annotation to avoid duplicated class javax.annotation with other dependencies. This CL selects the first stable version 10.0.0 that renames javax.annotation. Signed-off-by: utzcoz --- WORKSPACE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WORKSPACE b/WORKSPACE index 9e930ec78..5665d7330 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -158,7 +158,7 @@ maven_install( "com.squareup:javapoet:1.9.0", "io.grpc:grpc-okhttp:1.54.1", "io.grpc:grpc-stub:1.54.1", - "org.apache.tomcat:annotations-api:6.0.53", + "org.apache.tomcat:tomcat-annotations-api:10.0.0", "javax.annotation:javax.annotation-api:1.3.1", "javax.inject:javax.inject:1", "joda-time:joda-time:2.10.1",