OGM-651 Enforce JDK 7 or JDK 8 for ditribution module

  We are currently not building the documentation with JDK 9.
  We want to avoid a release without a documentation.
OGM-651 Fixing JavaDoc issues in core