Fix maven build with JDK below 8

Got

    invalid flag: -Xdoclint:none 

running Maven with with JDK 7.