Fix the maven build for the java 8 JDK.

See http://stackoverflow.com/questions/15886209/maven-is-not-working-in-java-8-when-javadoc-tags-are-incomplete for details.