I was wrong, Java 10 works by Java 11 fails. More work to do.
diff --git a/pom.xml b/pom.xml
index 02bacaa..b004224 100644
--- a/pom.xml
+++ b/pom.xml
@@ -63,8 +63,8 @@
                     <artifactId>maven-compiler-plugin</artifactId>
                     <version>3.8.0</version>
                     <configuration>
-                        <source>11</source>
-                        <target>11</target>
+                        <source>10</source>
+                        <target>10</target>
                         <fork>true</fork>
                         <encoding>${project.build.sourceEncoding}</encoding>
                     </configuration>