Add jdk8 build variant
Helps when using versions of third-party libraries that are not yet Java
9 compatible and are bothered by the existence of the module-info.class,
such as Jetty 9.4.6 with its runtime classpath scanning.
<nativeExcludes>*</nativeExcludes>
</properties>
</profile>
+ <profile>
+ <id>jdk8</id>
+ <activation>
+ <property>
+ <name>jdk8</name>
+ </property>
+ </activation>
+ <properties>
+ <variant>joml-jdk8</variant>
+ <moduleInfoExclude>module-info.class</moduleInfoExclude>
+ </properties>
+ </profile>
<profile>
<id>jdk9</id>
<activation>
