We did this in Hibernate Search (
HSEARCH-2778 Resolved ). The goal is that, whenever we add a new module, its javadoc will be generated by default, which means we'll get errors in CI build if the javadoc becomes invalid at some point. And this will happen even if we forget to reference the module in the hibernate-ogm-javadoc module... This should spare us some pain when we release. |