Join GitHub today
[JENKINS-52639] Remove snakeyaml dependency by switching to wordnet-random-name #147
Using snakeyaml without shading it is a little precarious in the current Jenkins ecosystem, see the comments in JENKINS-50202 for details.
This PR replaces the javafaker library with wordnet-random-name. It doesn't allow us to use different themes for different kinds of data (which might be a blocker), but it has no compile-scope dependencies.
We could also downgrade to snakeyaml 1.17 to avoid API compatibility issues for now (assuming javafaker 0.15 is compatible with snakeyaml 1.17), or we could shade it and the javafaker library to avoid conflicts with other plugins, but getting rid of it seemed like the easiest long-term solution.