Exit code: 1 - javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in https://docs.oracle.com/en/java/javase/11/
As suggested in OpenJDK issue tracker this can be worked around with defining source on Javadoc plugin:
org.apache.maven.plugins maven-javadoc-plugin 8