A simple and effective solution is to generate code for a new package (for example: using ANTLR, move the grammar one level deeper, starting from your.package.here to the new package your.package.here.antlr ).
Then, using Andrew Rueckert's suggestion, add <excludePackageNames>*.antlr</excludePackageNames> to the maven javadoc plugin configuration in your pom file.
oskopek
source share