Use maven JavaDoc with reasonable doclint parameters

The syntax you expect to work (-Xdoclint:all,-missing) is correct. It will work fine with the native command line javadoc tool. Unfortunately the Maven JavaDoc Plugin seems to split an additional parameter into several parameters if a comma is used. This bug is documented in MJAVADOC-368.

To avoid your problem use the more verbose syntax which is described in @hasnae answer (-Xdoclint:all -Xdoclint:-missing).


The right syntax is:

-Xdoclint:all -Xdoclint:-missing