Expose fully defined (non-automatic) Java modules for consumption by users

Description

Some of the work will already have been performed in HSEARCH-3514. But we still need to:

  1. Switch to JDK11 for our build, so that module descriptors are actually bundled with released JARs. We will need multi-release JARs for this to work, otherwise module-info.class files will make applications running on Java 8 crash.

  2. Double-check we properly test compatibility with Java modules. In particular, check that a Hibernate Search application can be started with Hibernate Search packaged as Java 9 modules, and that no "split package" errors occur.

  3. Fix any problems related to running Hibernate Search as a Java module.

Environment

None

Assignee

Unassigned

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Fix versions

Priority

Major
Configure