OpenSearch/distribution
Ryan Ernst 37795d259a
Remove guava from transitive compile classpath (#54309) (#54695)
Guava was removed from Elasticsearch many years ago, but remnants of it
remain due to transitive dependencies. When a dependency pulls guava
into the compile classpath, devs can inadvertently begin using methods
from guava without realizing it. This commit moves guava to a runtime
dependency in the modules that it is needed.

Note that one special case is the html sanitizer in watcher. The third
party dep uses guava in the PolicyFactory class signature. However, only
calling a method on the PolicyFactory actually causes the class to be
loaded, a reference alone does not trigger compilation to look at the
class implementation. There we utilize a MethodHandle for invoking the
relevant method at runtime, where guava will continue to exist.
2020-04-07 23:20:17 -07:00
..
archives Fix classifier on OSS Linux aarch64 archive 2020-03-23 18:19:29 -04:00
bwc Enable the remote build cache in BWC distribution builds (#54691) 2020-04-02 17:05:56 -07:00
docker Introduce formal role for remote cluster client (#54138) 2020-03-24 21:59:43 -04:00
licenses Add notice for bundled jdk (#40576) 2019-03-29 17:21:21 -04:00
packages Fix aarch64 architecture for packages (#54856) 2020-04-07 06:04:06 -04:00
src Move keystore-cli to its own tools project (#40787) (#54294) 2020-03-30 11:20:07 -07:00
tools Remove guava from transitive compile classpath (#54309) (#54695) 2020-04-07 23:20:17 -07:00
build.gradle Move keystore-cli to its own tools project (#40787) (#54294) 2020-03-30 11:20:07 -07:00