Package jflex.maven.plugin.jflex
Class JFlexMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- jflex.maven.plugin.jflex.JFlexMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="generate", defaultPhase=GENERATE_SOURCES, threadSafe=false) public class JFlexMojo extends org.apache.maven.plugin.AbstractMojoGenerates lexical scanners from one or more JFlex grammar files.- Author:
- Régis Décamps (decamps@users.sf.net)
-
-
Constructor Summary
Constructors Constructor Description JFlexMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()Generate java parsers from lexer definition files.
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureExceptionGenerate java parsers from lexer definition files.This methods is checks parameters, sets options and calls JFlex.Main.generate()
- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
-