quattor / maven-tools

Maven-based Build Tools
www.quattor.org
Apache License 2.0
3 stars 12 forks source link

Allow builds to succeed even if javadoc doclint fails #178

Closed jrha closed 6 years ago

jrha commented 6 years ago

This change requires JDK 1.8+.

jrha commented 6 years ago

@stdweird merge this and I'll build 1.58 :innocent:

ned21 commented 6 years ago

In JDK 1.8+ doclint errors cause the build to fail, this restores the more tolerant behaviour.

Presumably at some point in the future this will become a hard error? Is it worth opening an issue recording which docs in what codebase need updating for easy future reference?

jrha commented 6 years ago

@ned21 the point in the future that it became a hard error was several years ago — the Java community reacted quite negatively (e.g. http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html), from what I can see some of the "errors" are Maven tags that doclint just doesn't understand.

jrha commented 6 years ago

I'm going to merge this so I can build 1.58 and progress with the rest of the release, we can try other options later if need be.