Couple of fixes for the javadoc mess with java 8

Fixes https://github.com/ning/maven-duplicate-finder-plugin/issues/33