As far as I know, this is currently not possible with the maven-javadoc-plugin. There is javadoc: fix mojo for the JavaDoc plugin, but this automatically fixes the problems.
I recently created a JIRA entry for this problem: MJAVADOC-374 (which is literally a duplicate of MJAVADOC-314 ).
Update : You can use Checkstyle to verify the correct JavaDoc. Configuration options are described here . Use maven-checkstyle-plugin and check -Mojo to integrate this into your maven assembly.
An example maven configuration might look like this:
<project> ... <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.15</version> <configuration> <logViolationsToConsole>true</logViolationsToConsole> <checkstyleRules> <module name="JavadocMethod"> <property name="scope" value="public"/> <property name="allowUndeclaredRTE" value="true"/> <property name="allowMissingParamTags" value="false"/> </module> </checkstyleRules> </configuration> </plugin> </plugins> </build> ... </project>
source share