Fork me on GitHub

JJDoc Examples

The following example can be used to create a JJDoc site report. For a list of configuration parameters, consult the jjdoc goal documentation. The jjdoc goal does not need to be specified since it will automatically be used during site generation.

<project>
  ...
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>javacc-maven-plugin</artifactId>
        <version>3.0.1</version>
      </plugin>
      ...
    </plugins>
  </reporting>
  ...
</project>

To generate the BNF documentation, simply execute the site lifecycle phase:

mvn site