This is an automated email from the ASF dual-hosted git repository. quantranhong1999 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 6114c357bba7bd03f5bcdef3472375dfd9565222 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 9cb8190243..d992b71a6d 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]
