[BZ 1175774] Making the change backward compatible with jdk7, where the '-Xdoclint:none' switch is not known and build fails with it. Introducing mvn profile that is active only for jdk8 and higher.