Skip to content

Conversation

breskeby
Copy link
Contributor

Backport

This will backport the following commits from main to 9.0:

Questions ?

Please refer to the Backport tool documentation

…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

(cherry picked from commit 10f8536)

# Conflicts:
#	test/framework/build.gradle
@breskeby breskeby merged commit 16cc527 into elastic:9.0 Sep 30, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants