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

chibenwa pushed a commit to branch 3.9.x
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 6e8193a3745213ba7b3337ed2bc138b2e9db3b9f
Author: Benoit TELLIER <[email protected]>
AuthorDate: Wed Sep 16 20:23:46 2026 +0200

    POM: exclude ApacheHttpClient5Transport from OpenSearch code
---
 backends-common/opensearch/pom.xml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/backends-common/opensearch/pom.xml 
b/backends-common/opensearch/pom.xml
index ee161b3e68..2e14afb8c4 100644
--- a/backends-common/opensearch/pom.xml
+++ b/backends-common/opensearch/pom.xml
@@ -88,6 +88,21 @@
             <groupId>org.opensearch.client</groupId>
             <artifactId>opensearch-java</artifactId>
             <version>2.25.0</version>
+            <exclusions>
+                <!-- Only needed by ApacheHttpClient5Transport, James relies 
on RestClientTransport -->
+                <exclusion>
+                    <groupId>org.apache.httpcomponents.client5</groupId>
+                    <artifactId>httpclient5</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.apache.httpcomponents.core5</groupId>
+                    <artifactId>httpcore5</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.apache.httpcomponents.core5</groupId>
+                    <artifactId>httpcore5-h2</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>org.opensearch.client</groupId>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to