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

HTHou pushed a commit to branch codex/exclude-thrift-jakarta-annotation
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit f58258c645484e37355878e2a2601aad891fbf3d
Author: HTHou <[email protected]>
AuthorDate: Tue Jun 23 17:41:30 2026 +0800

    Exclude unused thrift Jakarta annotations
---
 pom.xml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/pom.xml b/pom.xml
index ecb82b4037c..7561fa72772 100644
--- a/pom.xml
+++ b/pom.xml
@@ -190,6 +190,14 @@
                         <groupId>jakarta.servlet</groupId>
                         <artifactId>jakarta.servlet-api</artifactId>
                     </exclusion>
+                    <!--
+                      Thrift generated Java sources suppress @Generated 
annotations.
+                      IoTDB does not use libthrift APIs that require Jakarta 
annotations.
+                    -->
+                    <exclusion>
+                        <groupId>jakarta.annotation</groupId>
+                        <artifactId>jakarta.annotation-api</artifactId>
+                    </exclusion>
                     <!--
                       commons-lang3 is only used by Thrift's partial 
deserialization runtime.
                       IoTDB does not use org.apache.thrift.partial APIs.

Reply via email to