Detect JDK18 and skip javadoc generation phase since javadoc since to be broken.