<?xml version="1.0"?>
<document>

  <properties>
    <title>Maven Antlr Plug-in Goals</title>
    <author email="dion@multitask.com.au">dIon Gillard</author>
  </properties>

  <body>
    <section name="Goals">
      <p>
        <strong>Note:</strong> The goals in this plugin are only executed 
        when the  <a href="properties.html">maven.antlr.src.dir</a> property
        is set
      </p>
      <table>
        <tr><th>Goal</th><th>Description</th></tr>
        <tr>
          <td>antlr:generate</td>
          <td>
            <p>
              Generates code for all grammars defined in the
              <a href="properties.html">${maven.antlr.grammars}</a>
              property.
            </p>
            <p>
              This goal is called before the <code>java:compile</code>
              goal so that code is generated before compilation.
            </p>
          </td>
        </tr>
        <tr>
          <td>antlr:prepare-filesystem</td>
          <td>
            <p>
              Creates the <code>${maven.build.dir}/antlr</code>
              directory which holds antlr generated code.
            </p>
            <p>
              This directory is added to the code to be compiled by
              Maven, as specified by the <code>maven.compile.src.set</code>
              property.
            </p>
          </td>
        </tr>
      </table>
    </section>
 </body>
</document>
