OpenSearch/distribution
Ryan Ernst 70b499b7aa
Simplify java home verification (#55635)
* Simplify java home verification

At one time, all uses of java home were found through the getJavaHome
utility method on BuildPlugin. However, that was changed many
refactorings ago, but the complex support for registering a java home
version needed that fails at configuration time still exists. The only
remaining use of grabbing java home is within bwc tests, and must be at
runtime since that is when we have the checkout and know what version is
needed.

This commit consolidates the java home finding method into a utility
unassociated with BuildPlugin.

* fix checkstyle

* address feedback
2020-04-27 12:43:32 -07:00
..
archives Only ship Linux binaries for the correct architecture (#55280) 2020-04-16 09:45:52 +01:00
bwc Simplify java home verification (#55635) 2020-04-27 12:43:32 -07:00
docker Use official checksums to verify Tini (#55717) 2020-04-24 16:47:24 +01:00
licenses Add notice for bundled jdk (#40576) 2019-03-29 17:21:21 -04:00
packages Only ship Linux binaries for the correct architecture (#55280) 2020-04-16 09:45:52 +01:00
src Make windows JAVA_HOME handling consistent with linux (#55261) (#55362) 2020-04-16 16:17:41 -07:00
tools Use task avoidance with forbidden apis (#55034) 2020-04-15 13:27:53 -07:00
build.gradle Add geo_shape mapper supporting doc-values in Spatial Plugin (#55037) (#55500) 2020-04-22 08:12:54 -07:00