module-info-compile

- Use maven to compile module-info.java with source level 1.9 while compiling the rest of the code with lower source levels

How does it work

The compilation is split into two steps. The first step overrides the default-compile execution to compile all source files with the configured source level. The second step compiles the module-info.java with source level 1.9 .

Take a look at the POM file to see the details.

Links