You can use the following configuration in your pom.xml to run the DOCCK Plugin everytime the project is built and send its output to a file.
<project> ... <build> <plugins> ... <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-docck-plugin</artifactId> <version>1.2</version> <executions> <execution> <configuration> <output>target/docck-results.txt</output> </configuration> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> ... </plugins> </build> ... </project>