javacc:generate

Mojo Attributes :

  • Requires a Maven 2.0 project to execute.
  • Automatically executes within the lifecycle phase: generate-sources

Required Parameters

Name Type Description
buildParser boolean No description.
buildTokenManager boolean No description.
cacheTokens boolean No description.
choiceAmbiguityCheck int No description.
commonTokenAction boolean No description.
debugLookAhead boolean No description.
debugParser boolean No description.
debugTokenManager boolean No description.
doNotGenerateTokenFile boolean No description.
errorReporting boolean No description.
forceLaCheck boolean No description.
ignoreCase boolean No description.
isStatic boolean No description.
javaUnicodeEscape boolean No description.
keepLineColumn boolean No description.
lookAhead int No description.
optimizeTokenManager boolean No description.
otherAmbiguityCheck int No description.
project MavenProject No description.
sanityCheck boolean No description.
unicodeInput boolean No description.
userCharStream boolean No description.
userTokenManager boolean No description.

Optional Parameters

Name Type Description
outputDirectory File Directory where the output Java Files will be located.
outputPath String Path under output directory where the output Java Files will be located.
sourceDirectory File Directory where the JJ file(s) are located.
sourcePath String Path under source directory where the JJ file(s) are located.
staleMillis int The granularity in milliseconds of the last modification date for testing whether a source needs recompilation Default value is 0.
timestampDirectory File the directory to store the processed .jj files

Parameter Details

buildParser

No Description.

  • Type : boolean
  • Required : Yes
  • Expression : true

buildTokenManager

No Description.

  • Type : boolean
  • Required : Yes
  • Expression : true

cacheTokens

No Description.

  • Type : boolean
  • Required : Yes
  • Expression : false

choiceAmbiguityCheck

No Description.

  • Type : int
  • Required : Yes
  • Expression : 2

commonTokenAction

No Description.

  • Type : boolean
  • Required : Yes
  • Expression : false

debugLookAhead

No Description.

  • Type : boolean
  • Required : Yes
  • Expression : false

debugParser

No Description.

  • Type : boolean
  • Required : Yes
  • Expression : false

debugTokenManager

No Description.

  • Type : boolean
  • Required : Yes
  • Expression : false

doNotGenerateTokenFile

No Description.

  • Type : boolean
  • Required : Yes
  • Expression : false

errorReporting

No Description.

  • Type : boolean
  • Required : Yes
  • Expression : true

forceLaCheck

No Description.

  • Type : boolean
  • Required : Yes
  • Expression : false

ignoreCase

No Description.

  • Type : boolean
  • Required : Yes
  • Expression : false

isStatic

No Description.

  • Type : boolean
  • Required : Yes
  • Expression : true

javaUnicodeEscape

No Description.

  • Type : boolean
  • Required : Yes
  • Expression : false

keepLineColumn

No Description.

  • Type : boolean
  • Required : Yes
  • Expression : true

lookAhead

No Description.

  • Type : int
  • Required : Yes
  • Expression : 1

optimizeTokenManager

No Description.

  • Type : boolean
  • Required : Yes
  • Expression : true

otherAmbiguityCheck

No Description.

  • Type : int
  • Required : Yes
  • Expression : 1

outputDirectory

Directory where the output Java Files will be located.

  • Type : java.io.File
  • Required : No
  • Expression : ${project.build.directory}/maven-javacc-plugin/src/main/java

outputPath

Path under output directory where the output Java Files will be located.

  • Type : java.lang.String
  • Required : No

project

No Description.

  • Type : org.apache.maven.project.MavenProject
  • Required : Yes
  • Expression : ${project}

sanityCheck

No Description.

  • Type : boolean
  • Required : Yes
  • Expression : true

sourceDirectory

Directory where the JJ file(s) are located.

  • Type : java.io.File
  • Required : No
  • Expression : src/main/javacc

sourcePath

Path under source directory where the JJ file(s) are located.

  • Type : java.lang.String
  • Required : No

staleMillis

The granularity in milliseconds of the last modification date for testing whether a source needs recompilation

  • Type : int
  • Required : No
  • Expression : ${lastModGranularityMs}
  • Default : 0

timestampDirectory

the directory to store the processed .jj files

  • Type : java.io.File
  • Required : No
  • Expression : ${project.build.directory}/maven-javacc-plugin/src/main/conf

unicodeInput

No Description.

  • Type : boolean
  • Required : Yes
  • Expression : false

userCharStream

No Description.

  • Type : boolean
  • Required : Yes
  • Expression : false

userTokenManager

No Description.

  • Type : boolean
  • Required : Yes
  • Expression : false