[
https://issues.apache.org/jira/browse/OAK-12540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rishabh Daim resolved OAK-12540.
--------------------------------
Resolution: Fixed
> Upgrade WireMock to 3.13.2 and exclude its HttpClient dependency
> ----------------------------------------------------------------
>
> Key: OAK-12540
> URL: https://issues.apache.org/jira/browse/OAK-12540
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: search-elastic
> Reporter: Rishabh Daim
> Assignee: Rishabh Daim
> Priority: Major
> Fix For: 2.10.0
>
>
> Upgrade the test-only WireMock dependency in oak-search-elastic from 3.9.2 to
> 3.13.2 and exclude its transitive
> org.apache.httpcomponents.client5:httpclient5 dependency.
> WireMock currently wins Maven nearest-dependency mediation, causing the
> Elasticsearch bundle to embed HttpClient 5.3.1 and HttpCore 5.2.4 instead of
> the versions requested by Elasticsearch. Upgrading WireMock alone still
> selects HttpClient 5.5.1; the exclusion lets Elasticsearch supply HttpClient
> 5.6.3 and HttpCore/httpcore5-h2 5.4.3 for production and tests. The HTTP
> transport remains embedded intentionally.
> WireMock 3.9.2 was introduced by
> [OAK-11063|https://issues.apache.org/jira/browse/OAK-11063] ([PR
> #1804|https://github.com/apache/jackrabbit-oak/pull/1804]); no later WireMock
> version update was found in the module history.
> Validated with Java 17 and Docker using {{mvn -pl oak-search-elastic verify
> -PintegrationTesting}}: 576 tests passed, 17 skipped, zero failures/errors,
> including successful WireMock-backed inference tests. Inspected the built
> bundle to confirm the HTTP dependency versions and absence of WireMock.
> Coverage, RAT and OSGi baseline checks passed.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)