Skip to content

Conversation

breskeby
Copy link
Contributor

Backports the following commits to 8.19:

…elastic#135598)

* [Example Builds] Fix Jarhell in example build due to version conflict

In test framework we expose org.hamcrest:hamcrest. Transitively junit and the randomized runner
expose hamcrest-core transitive dependencies. This makes jarHell task fail as those jars share
common class files.

We exclude hamcrest core now explicitly as transitive dependency in the generated pom for
test framework as we already include a superset of this by having a direct dependency on
hamcrest which includes hamcrest-core

* Cleanup

* Rework excluded transitive dependencies
@breskeby breskeby added :Delivery/Build Build or test infrastructure >non-issue auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Delivery Meta label for Delivery team labels Sep 29, 2025
@elasticsearchmachine elasticsearchmachine merged commit 84835b2 into elastic:8.19 Sep 29, 2025
23 checks passed
@breskeby breskeby deleted the backport/8.19/pr-135598 branch September 29, 2025 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :Delivery/Build Build or test infrastructure >non-issue Team:Delivery Meta label for Delivery team v8.19.5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants