This javadoc issue was caused by non-compatible changes in new versions of JDK. To skip the Javadoc phase, you may add the option maven.javadoc.skip=true in maven command.