opensearch-project/opensearch-plugins

Default CI Java Version to Java 11, run tests on 8, 11, 14 (and attempt 17)

dblock opened this issue · 0 comments

In the documentation we say:

We recommend Java 11 (LTS), but OpenSearch also works with Java 8.

OpenSearch 1.0, 1.1 and 1.2 have used Java 14, which is not an LTS release. Because of this:

  1. OpenSearch has lowered the JDK to 11 in opensearch-project/OpenSearch#940 and version 1.3.0 will package JDK 11 as a runtime via opensearch-project/OpenSearch#2301.
  2. The build/distribution pipeline has lowered the JDK to 11 for 1.3.0 in opensearch-project/opensearch-build#981.

Plugins need to do the same for 1.3.0.

Looking at 1.3.0:

Originally 1.3.0 was supposed to GA with JDK 17, but we ran into a number of issues:

For 2.0 we will remove support for Java 8, fix the above issues, upgrade to Gradle 7, and bundle JDK 17, which is #110.

OpenSearch

Plugins

Related