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

jackietien 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 aa560e7ddc5 No need to include http client in distribution (#16634)
aa560e7ddc5 is described below

commit aa560e7ddc5e3b03a19e6b4b0f8cba0dd4393b1b
Author: Haonan <[email protected]>
AuthorDate: Tue Oct 21 15:08:21 2025 +0800

    No need to include http client in distribution (#16634)
---
 integration-test/pom.xml | 10 ++++++++++
 pom.xml                  |  9 +++++++++
 2 files changed, 19 insertions(+)

diff --git a/integration-test/pom.xml b/integration-test/pom.xml
index 9614af3943d..f5d9d170a5f 100644
--- a/integration-test/pom.xml
+++ b/integration-test/pom.xml
@@ -229,6 +229,16 @@
             <groupId>org.fusesource.mqtt-client</groupId>
             <artifactId>mqtt-client</artifactId>
         </dependency>
+        <dependency>
+            <groupId>org.apache.httpcomponents</groupId>
+            <artifactId>httpclient</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.httpcomponents</groupId>
+            <artifactId>httpcore</artifactId>
+            <scope>test</scope>
+        </dependency>
     </dependencies>
     <build>
         <plugins>
diff --git a/pom.xml b/pom.xml
index c86df5f482d..1c01f72b1a3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -213,6 +213,15 @@
                         <groupId>javax.annotation</groupId>
                         <artifactId>javax.annotation-api</artifactId>
                     </exclusion>
+                    <!-- We don't use thrift http connection -->
+                    <exclusion>
+                        <groupId>org.apache.httpcomponents</groupId>
+                        <artifactId>httpclient</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>org.apache.httpcomponents</groupId>
+                        <artifactId>httpcore</artifactId>
+                    </exclusion>
                 </exclusions>
             </dependency>
             <dependency>

Reply via email to