/java-modules-migration-test

Minimal example of figuring out solutions for migrating to java 9 modules

Primary LanguageJavaApache License 2.0Apache-2.0

java-modules-migration-test

Minimal examples of figuring out solutions for migrating to java 9 modules for different use cases.

elasticsearch-app

Small java module application accessing elasticssearch with it's High Level REST Client api. Using the (elasticsearch-restclient) uber jar.

elasticsearch-restclient

Packaging the High Level REST Client libraries with dependencies into one uber jar with dedicated Automatic-Module-Name to solve the split packages of the many referenced libraries as discussed in

For creating the uber jar this project uses the Gradle Shadow Plugin.

immutables-app-merged

Small application using Java Immutables processor generating classes depedneing on javax.annotation and JSR305 providing the same split packages. Although this is a well know issue for java modules it's not solved from the creatoes of the libraries. As workaround a merged uber jar available in maven central as jsr305-and-javax.annotation-api is used here.

immutables-app-patched

Same application as (immutables-app-merged) but using the original two libraries and patching the compiler arguments with the gradle-modules-plugin.

Note: this is not working for the Eclipse IDE right now due to issues with the gradle generated .classpath file!