Later the build fails when generating the javadoc, because the "--add-modules=java.activation,java.xml.bind" option was specified to build with Java 9, but these modules have been removed in Java 11.