Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<plugin>
  <description>Maven 2 Plugin for processing javacc files.</description>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>javacc-maven-plugin</artifactId>
  <version>2.3</version>
  <goalPrefix>javacc</goalPrefix>
  <isolatedRealm>false</isolatedRealm>
  <inheritedByDefault>true</inheritedByDefault>
  <mojos>
    <mojo>
      <goal>jtb</goal>
      <description>Parses a JTB file and transforms it into source files for an AST and a JavaCC grammar file which automatically
builds the AST. &lt;b&gt;Note: &lt;a href=&quot;http://compilers.cs.ucla.edu/jtb/&quot;&gt;JTB&lt;/a&gt; requires JDK 1.5 and higher. This
mojo will not work with earlier versions of the JDK&lt;/b&gt;.</description>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <phase>generate-sources</phase>
      <implementation>org.codehaus.mojo.javacc.JTBMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <parameters>
        <parameter>
          <name>baseDir</name>
          <type>java.io.File</type>
          <required>true</required>
          <editable>false</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>descriptiveFieldNames</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Setting this option to true causes JTB to generate field names that
reflect the structure of the tree.</description>
        </parameter>
        <parameter>
          <name>javadocFriendlyComments</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If true, all generated comments will be wrapped in pre tags so that they
are formatted correctly in javadocs.</description>
        </parameter>
        <parameter>
          <name>nodePackageName</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>This option specifies the package for the generated AST nodes.</description>
        </parameter>
        <parameter>
          <name>nodeParentClass</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>All AST nodes will inherit from the class specified for this parameter.</description>
        </parameter>
        <parameter>
          <name>outputDirectory</name>
          <type>java.io.File</type>
          <required>true</required>
          <editable>true</editable>
          <description>Directory where the output Java Files will be located.</description>
        </parameter>
        <parameter>
          <name>packageName</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>This option is short for
&lt;code&gt;nodePackageName = package + syntaxtree&lt;/code&gt; and
&lt;code&gt;visitorPackageName = package + visitor&lt;/code&gt;.</description>
        </parameter>
        <parameter>
          <name>parentPointers</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If true, all nodes will contain fields for its parent node.</description>
        </parameter>
        <parameter>
          <name>printer</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If true, JTB will generate a syntax tree dumping visitor.</description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>true</required>
          <editable>false</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>scheme</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If true, JTB will generate:
&lt;ul&gt;
&lt;li&gt;Scheme records representing the grammar.&lt;/li&gt;
&lt;li&gt;A Scheme tree building visitor.&lt;/li&gt;
&lt;/ul&gt;</description>
        </parameter>
        <parameter>
          <name>sourceDirectory</name>
          <type>java.io.File</type>
          <required>true</required>
          <editable>true</editable>
          <description>Directory where the JTB file(s) are located.</description>
        </parameter>
        <parameter>
          <name>specialTokens</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If true, JTB will include JavaCC &quot;special tokens&quot; in the AST.</description>
        </parameter>
        <parameter>
          <name>staleMillis</name>
          <type>int</type>
          <required>false</required>
          <editable>true</editable>
          <description>The granularity in milliseconds of the last modification date for testing
whether a source needs recompilation</description>
        </parameter>
        <parameter>
          <name>supressErrorChecking</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If true, JTB will supress its semantic error checking.</description>
        </parameter>
        <parameter>
          <name>timestampDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>the directory to store the resulting JavaCC grammar(s)</description>
        </parameter>
        <parameter>
          <name>visitorPackageName</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>This option specifies the package for the generated visitors.</description>
        </parameter>
      </parameters>
      <configuration>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
        <baseDir implementation="java.io.File">${basedir}</baseDir>
        <timestampDirectory implementation="java.io.File">${basedir}/target</timestampDirectory>
        <staleMillis implementation="int" default-value="0">${lastModGranularityMs}</staleMillis>
        <sourceDirectory implementation="java.io.File">${basedir}/src/main/jtb</sourceDirectory>
        <outputDirectory implementation="java.io.File">${project.build.directory}/generated-sources/jtb</outputDirectory>
      </configuration>
    </mojo>
    <mojo>
      <goal>javacc</goal>
      <description>Parses a javacc (jj) grammar file and transforms it to Java source files. Detailed information about the javacc
options can be found on the &lt;a href=&quot;https://javacc.dev.java.net/&quot;&gt;javacc&lt;/a&gt; site.</description>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <phase>generate-sources</phase>
      <implementation>org.codehaus.mojo.javacc.JavaCCMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <parameters>
        <parameter>
          <name>buildParser</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>The default action is to generate the parser file. Default value is true.</description>
        </parameter>
        <parameter>
          <name>buildTokenManager</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>The default action is to generate the token manager. Default value is true.</description>
        </parameter>
        <parameter>
          <name>cacheTokens</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Setting this option to true causes the generated parser to
lookahead for extra tokens ahead of time. Default value is false.</description>
        </parameter>
        <parameter>
          <name>choiceAmbiguityCheck</name>
          <type>java.lang.Integer</type>
          <required>false</required>
          <editable>true</editable>
          <description>This is the number of tokens considered in checking choices
of the form &quot;A | B | ...&quot; for ambiguity. Default value is 2.</description>
        </parameter>
        <parameter>
          <name>commonTokenAction</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>When set to true, every call to the token manager&apos;s method &quot;getNextToken&quot; (see the description of the Java
Compiler Compiler API) will cause a call to a used defined method &quot;CommonTokenAction&quot; after the token has been
scanned in by the token manager. Default value is false.</description>
        </parameter>
        <parameter>
          <name>debugLookAhead</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>This is a boolean option whose default value is false. Setting this option to true causes the parser to generate
all the tracing information it does when the option DEBUG_PARSER is true, and in addition, also causes it to
generated a trace of actions performed during lookahead operation.</description>
        </parameter>
        <parameter>
          <name>debugParser</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>This option is used to obtain debugging information from the generated parser. Setting this option to true causes
the parser to generate a trace of its actions. Default value is false.</description>
        </parameter>
        <parameter>
          <name>debugTokenManager</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>This option is used to obtain debugging information from the generated token manager. Default value is false.</description>
        </parameter>
        <parameter>
          <name>errorReporting</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Setting it to false causes errors due to parse errors to be reported in somewhat less detail. Default value is
true.</description>
        </parameter>
        <parameter>
          <name>excludes</name>
          <type>java.util.Set</type>
          <required>false</required>
          <editable>true</editable>
          <description>A list of exclusion filters for the compiler.</description>
        </parameter>
        <parameter>
          <name>forceLaCheck</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>This option setting controls lookahead ambiguity checking performed by JavaCC. Default value is false.</description>
        </parameter>
        <parameter>
          <name>ignoreCase</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Setting this option to true causes the generated token manager to ignore case in the token specifications and the
input files. Default value is false.</description>
        </parameter>
        <parameter>
          <name>includes</name>
          <type>java.util.Set</type>
          <required>false</required>
          <editable>true</editable>
          <description>A list of inclusion filters for the compiler.</description>
        </parameter>
        <parameter>
          <name>isStatic</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If true, all methods and class variables are specified as static in the generated parser and token manager. This
allows only one parser object to be present, but it improves the performance of the parser. Default value is
true.</description>
        </parameter>
        <parameter>
          <name>javaUnicodeEscape</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>When set to true, the generated parser uses an input stream object that processes Java Unicode escapes (\ u...)
before sending characters to the token manager. Default value is false.</description>
        </parameter>
        <parameter>
          <name>keepLineColumn</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>lookAhead</name>
          <type>java.lang.Integer</type>
          <required>false</required>
          <editable>true</editable>
          <description>The number of tokens to look ahead before making a decision at a choice point during parsing. The default value
is 1.</description>
        </parameter>
        <parameter>
          <name>otherAmbiguityCheck</name>
          <type>java.lang.Integer</type>
          <required>false</required>
          <editable>true</editable>
          <description>This is the number of tokens considered in checking all other kinds of choices (i.e., of the forms &quot;(A)*&quot;,
&quot;(A)+&quot;, and &quot;(A)?&quot;) for ambiguity. Default value is 1.</description>
        </parameter>
        <parameter>
          <name>outputDirectory</name>
          <type>java.io.File</type>
          <required>true</required>
          <editable>true</editable>
          <description>Directory where the output Java Files will be located.</description>
        </parameter>
        <parameter>
          <name>packageName</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Package into which the generated classes will be put. Note that this will also be used to create the directory
structure where sources will be generated. Defaults to the package name specified in a grammar file.</description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>true</required>
          <editable>false</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>sanityCheck</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>JavaCC performs many syntactic and semantic checks on the grammar file during parser generation. Default value is
true.</description>
        </parameter>
        <parameter>
          <name>sourceDirectory</name>
          <type>java.io.File</type>
          <required>true</required>
          <editable>true</editable>
          <description>Directory where the JJ file(s) are located.</description>
        </parameter>
        <parameter>
          <name>staleMillis</name>
          <type>int</type>
          <required>false</required>
          <editable>true</editable>
          <description>The granularity in milliseconds of the last modification date for testing whether a source needs recompilation.</description>
        </parameter>
        <parameter>
          <name>timestampDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>The directory to store the processed .jj files</description>
        </parameter>
        <parameter>
          <name>tokenExtends</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>This is a string option whose default value is &quot;&quot;, meaning that the generated Token class will extend
java.lang.Object. This option may be set to the name of a class that will be used as the base class for the
generated Token class.</description>
        </parameter>
        <parameter>
          <name>tokenManagerUsesParser</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>When set to true, the generated token manager will include a field called parser that references the
instantiating parser instance. Default value is false.</description>
        </parameter>
        <parameter>
          <name>unicodeInput</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>When set to true, the generated parser uses uses an input stream object that reads Unicode files. By default,
ASCII files are assumed. Default value is false.</description>
        </parameter>
        <parameter>
          <name>userCharStream</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>The default action is to generate a character stream reader as specified by the options JAVA_UNICODE_ESCAPE and
UNICODE_INPUT. Default value is false.</description>
        </parameter>
        <parameter>
          <name>userTokenManager</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>The default action is to generate a token manager that works on the specified grammar tokens. If this option is
set to true, then the parser is generated to accept tokens from any token manager of type &quot;TokenManager&quot; - this
interface is generated into the generated parser directory. Default value is false.</description>
        </parameter>
      </parameters>
      <configuration>
        <debugLookAhead implementation="java.lang.Boolean">${debugLookAhead}</debugLookAhead>
        <commonTokenAction implementation="java.lang.Boolean">${commonTokenAction}</commonTokenAction>
        <choiceAmbiguityCheck implementation="java.lang.Integer">${choiceAmbiguityCheck}</choiceAmbiguityCheck>
        <userTokenManager implementation="java.lang.Boolean">${userTokenManager}</userTokenManager>
        <packageName implementation="java.lang.String">${packageName}</packageName>
        <debugTokenManager implementation="java.lang.Boolean">${debugTokenManager}</debugTokenManager>
        <unicodeInput implementation="java.lang.Boolean">${unicodeInput}</unicodeInput>
        <javaUnicodeEscape implementation="java.lang.Boolean">${javaUnicodeEscape}</javaUnicodeEscape>
        <forceLaCheck implementation="java.lang.Boolean">${forceLaCheck}</forceLaCheck>
        <timestampDirectory implementation="java.io.File">${project.build.directory}/generated-sources/javacc-timestamp</timestampDirectory>
        <buildTokenManager implementation="java.lang.Boolean">${buildTokenManager}</buildTokenManager>
        <debugParser implementation="java.lang.Boolean">${debugParser}</debugParser>
        <staleMillis implementation="int" default-value="0">${lastModGranularityMs}</staleMillis>
        <outputDirectory implementation="java.io.File">${project.build.directory}/generated-sources/javacc</outputDirectory>
        <cacheTokens implementation="java.lang.Boolean">${cacheTokens}</cacheTokens>
        <ignoreCase implementation="java.lang.Boolean">${ignoreCase}</ignoreCase>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
        <buildParser implementation="java.lang.Boolean">${buildParser}</buildParser>
        <errorReporting implementation="java.lang.Boolean">${errorReporting}</errorReporting>
        <userCharStream implementation="java.lang.Boolean">${userCharStream}</userCharStream>
        <sanityCheck implementation="java.lang.Boolean">${sanityCheck}</sanityCheck>
        <keepLineColumn implementation="java.lang.Boolean">${keepLineColumn}</keepLineColumn>
        <sourceDirectory implementation="java.io.File">${basedir}/src/main/javacc</sourceDirectory>
      </configuration>
    </mojo>
    <mojo>
      <goal>jjtree</goal>
      <description>Parses a JJT grammar file and transforms it to Java source files.</description>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <phase>generate-sources</phase>
      <implementation>org.codehaus.mojo.javacc.JJTreeMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <parameters>
        <parameter>
          <name>buildNodeFiles</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>excludes</name>
          <type>java.util.Set</type>
          <required>false</required>
          <editable>true</editable>
          <description>A list of exclusion filters for the compiler.</description>
        </parameter>
        <parameter>
          <name>includes</name>
          <type>java.util.Set</type>
          <required>false</required>
          <editable>true</editable>
          <description>A list of inclusion filters for the compiler.</description>
        </parameter>
        <parameter>
          <name>multi</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>nodeDefaultVoid</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>nodeFactory</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>nodePackage</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>nodePrefix</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>nodeScopeHook</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>nodeUsesParser</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>outputDirectory</name>
          <type>java.io.File</type>
          <required>true</required>
          <editable>true</editable>
          <description>Directory where the output Java Files will be located.</description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>true</required>
          <editable>false</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>sourceDirectory</name>
          <type>java.io.File</type>
          <required>true</required>
          <editable>true</editable>
          <description>Directory where the JJT file(s) are located.</description>
        </parameter>
        <parameter>
          <name>staleMillis</name>
          <type>int</type>
          <required>false</required>
          <editable>true</editable>
          <description>The granularity in milliseconds of the last modification date for testing whether a source needs recompilation</description>
        </parameter>
        <parameter>
          <name>staticOption</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>timestampDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>the directory to store the processed .jjt files</description>
        </parameter>
        <parameter>
          <name>visitor</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>visitorException</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
      </parameters>
      <configuration>
        <buildNodeFiles implementation="java.lang.Boolean">${buildNodeFiles}</buildNodeFiles>
        <visitorException implementation="java.lang.String">${visitorException}</visitorException>
        <timestampDirectory implementation="java.io.File">${project.build.directory}/generated-sources/jjtree-timestamp</timestampDirectory>
        <outputDirectory implementation="java.io.File">${project.build.directory}/generated-sources/jjtree</outputDirectory>
        <staleMillis implementation="int" default-value="0">${lastModGranularityMs}</staleMillis>
        <visitor implementation="java.lang.Boolean">${visitor}</visitor>
        <nodeDefaultVoid implementation="java.lang.Boolean">${nodeDefaultVoid}</nodeDefaultVoid>
        <nodePrefix implementation="java.lang.String">${nodePrefix}</nodePrefix>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
        <nodeFactory implementation="java.lang.Boolean">${nodeFactory}</nodeFactory>
        <nodeUsesParser implementation="java.lang.Boolean">${nodeUsesParser}</nodeUsesParser>
        <staticOption implementation="java.lang.Boolean">${staticOption}</staticOption>
        <nodePackage implementation="java.lang.String">${nodePackage}</nodePackage>
        <multi implementation="java.lang.Boolean">${multi}</multi>
        <sourceDirectory implementation="java.io.File">${basedir}/src/main/jjtree</sourceDirectory>
        <nodeScopeHook implementation="java.lang.Boolean">${nodeScopeHook}</nodeScopeHook>
      </configuration>
    </mojo>
    <mojo>
      <goal>jjdoc</goal>
      <description>JJDoc takes a JavaCC [tm] parser specification and produces documentation for the BNF grammar. &lt;a
href=&quot;https://javacc.dev.java.net/doc/JJDoc.html&quot;&gt;JJDoc Documentation&lt;/a&gt;. This mojo will search
the source directory for all .jj files and run jjdoc once for each file it finds. Each of these
output files, along with an index.html file will be placed in the site directory (target/site/jjdoc),
and a link will be created in the &quot;Project Reports&quot; menu of the generated site.</description>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <executePhase>generate-sources</executePhase>
      <implementation>org.codehaus.mojo.javacc.JJDocMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <parameters>
        <parameter>
          <name>css</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>This option allows you to specify a CSS file name. If you supply a file name in this option it will appear in a
LINK element in the HEAD section of the file. This option only applies to HTML output.</description>
        </parameter>
        <parameter>
          <name>defaultGeneratedSourceDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>false</editable>
          <description>The default source directory for generated grammar files.</description>
        </parameter>
        <parameter>
          <name>defaultSourceDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>false</editable>
          <description>The default source directory for grammar files.</description>
        </parameter>
        <parameter>
          <name>jjdocDirectory</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The relative path of the JJDoc reports in the output directory.
This path will be appended to the output directory.</description>
        </parameter>
        <parameter>
          <name>oneTable</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>The default value of ONE_TABLE is used to generate a single HTML table for the BNF. Setting it to false will
produce one table for every production in the grammar.</description>
        </parameter>
        <parameter>
          <name>outputDirectory</name>
          <type>java.io.File</type>
          <required>true</required>
          <editable>true</editable>
          <description>Specifies the destination directory where JJDoc saves the generated HTML or Text files. Note that this parameter
is only evaluated if the goal is run directly from the command line. If the goal is run indirectly as part of a
site generation, the output directory configured in the Maven Site Plugin is used instead.</description>
        </parameter>
        <parameter>
          <name>pluginArtifacts</name>
          <type>java.util.List</type>
          <required>true</required>
          <editable>false</editable>
          <description>The plugin dependencies.</description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>true</required>
          <editable>false</editable>
          <description>Maven Project</description>
        </parameter>
        <parameter>
          <name>sourceDirectories</name>
          <type>java.io.File[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>Directories where the JJ file(s) are located. By default, the directories &lt;code&gt;${basedir}/src/main/javacc&lt;/code&gt;
and &lt;code&gt;${project.build.directory}/generated-sources/jjtree&lt;/code&gt; are scanned for grammar files to document.</description>
        </parameter>
        <parameter>
          <name>text</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Setting TEXT to true causes JJDoc to generate a plain text format description of the BNF. Some formatting is done
via tab characters, but the intention is to leave it as plain as possible. The default value of TEXT causes JJDoc
to generate a hyperlinked HTML document.</description>
        </parameter>
      </parameters>
      <configuration>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
        <text implementation="boolean" default-value="false"/>
        <defaultGeneratedSourceDirectory implementation="java.io.File">${project.build.directory}/generated-sources/jjtree</defaultGeneratedSourceDirectory>
        <oneTable implementation="boolean" default-value="true"/>
        <outputDirectory implementation="java.io.File">${project.reporting.outputDirectory}</outputDirectory>
        <pluginArtifacts implementation="java.util.List">${plugin.artifacts}</pluginArtifacts>
        <jjdocDirectory implementation="java.lang.String" default-value="jjdoc"/>
        <defaultSourceDirectory implementation="java.io.File">${basedir}/src/main/javacc</defaultSourceDirectory>
      </configuration>
      <requirements>
        <requirement>
          <role>org.apache.maven.doxia.siterenderer.Renderer</role>
          <field-name>siteRenderer</field-name>
        </requirement>
      </requirements>
    </mojo>
  </mojos>
  <dependencies/>
</plugin>
New to GrepCode? Check out our FAQ X