Fix runtime linkage errors with Java 8 when building with Java versions > 8
</build>
</profile>
+ <profile>
+ <id>javac-jdk9+</id>
+ <activation>
+ <jdk>[9,)</jdk>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <release>${java.sdk.version}</release>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
<profile>
<id>only-eclipse</id>
<activation>
