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

HTHou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 7a23a98f636 Exclude unused thrift Jakarta annotations (#18011)
7a23a98f636 is described below

commit 7a23a98f6366502d26ee7ba3a6369398e4c6b0d3
Author: Haonan <[email protected]>
AuthorDate: Tue Jun 23 18:46:05 2026 +0800

    Exclude unused thrift Jakarta annotations (#18011)
---
 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