Skip to content

Commit 7a23a98

Browse files
authored
Exclude unused thrift Jakarta annotations (#18011)
1 parent a98bd56 commit 7a23a98

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,14 @@
190190
<groupId>jakarta.servlet</groupId>
191191
<artifactId>jakarta.servlet-api</artifactId>
192192
</exclusion>
193+
<!--
194+
Thrift generated Java sources suppress @Generated annotations.
195+
IoTDB does not use libthrift APIs that require Jakarta annotations.
196+
-->
197+
<exclusion>
198+
<groupId>jakarta.annotation</groupId>
199+
<artifactId>jakarta.annotation-api</artifactId>
200+
</exclusion>
193201
<!--
194202
commons-lang3 is only used by Thrift's partial deserialization runtime.
195203
IoTDB does not use org.apache.thrift.partial APIs.

0 commit comments

Comments
 (0)