Skip to content

Commit 94ab6d6

Browse files
committed
HSEARCH-5479 Manage Apache HttpClient dependencies
to align them correctly (cherry picked from commit 1f1d385)
1 parent be5f0d0 commit 94ab6d6

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

build/parents/build/pom.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@
5050
<!-- The version of the Elasticsearch client used by Hibernate Search, independently of the version of the remote cluster -->
5151
<!-- Use the latest open-source version here. Currently, low-level clients are open-source even in 8.5+ -->
5252
<version.org.elasticsearch.client>9.1.4</version.org.elasticsearch.client>
53+
<!-- Various HTTP client versions that our own Elasticsearch client implementations depend on -->
54+
<version.org.apache.httpcomponents.httpclient>4.5.14</version.org.apache.httpcomponents.httpclient>
55+
<version.org.apache.httpcomponents.httpcore>4.4.16</version.org.apache.httpcomponents.httpcore>
56+
<version.org.apache.httpcomponents.httpasyncclient>4.1.5</version.org.apache.httpcomponents.httpasyncclient>
5357
<!-- The main compatible version of Elasticsearch, advertised by default. Used in documentation links. -->
5458
<version.org.elasticsearch.compatible.main>${version.org.elasticsearch.latest}</version.org.elasticsearch.compatible.main>
5559
<documentation.org.elasticsearch.url>https://www.elastic.co/guide/en/elasticsearch/reference/${parsed-version.org.elasticsearch.compatible.main.majorVersion}.${parsed-version.org.elasticsearch.compatible.main.minorVersion}</documentation.org.elasticsearch.url>
@@ -425,6 +429,27 @@
425429
<version>${version.software.amazon.awssdk}</version>
426430
</dependency>
427431

432+
<dependency>
433+
<groupId>org.apache.httpcomponents</groupId>
434+
<artifactId>httpclient</artifactId>
435+
<version>${version.org.apache.httpcomponents.httpclient}</version>
436+
</dependency>
437+
<dependency>
438+
<groupId>org.apache.httpcomponents</groupId>
439+
<artifactId>httpcore</artifactId>
440+
<version>${version.org.apache.httpcomponents.httpcore}</version>
441+
</dependency>
442+
<dependency>
443+
<groupId>org.apache.httpcomponents</groupId>
444+
<artifactId>httpcore-nio</artifactId>
445+
<version>${version.org.apache.httpcomponents.httpcore}</version>
446+
</dependency>
447+
<dependency>
448+
<groupId>org.apache.httpcomponents</groupId>
449+
<artifactId>httpasyncclient</artifactId>
450+
<version>${version.org.apache.httpcomponents.httpasyncclient}</version>
451+
</dependency>
452+
428453
<!-- Lucene backend -->
429454
<dependency>
430455
<groupId>org.apache.lucene</groupId>

0 commit comments

Comments
 (0)