Maven and Java multi-version modules

Introduction In this article, you are going to learn how to configure Maven modules to use different Java versions for compiling, running tests, and building the artifact. For instance, FlexyPool uses Java 8 for all modules, except for the flexy-pool-core-java9 module that needs to be built using Java 9.