Package org.codehaus.mojo.antlr
Class AntlrPlugin
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.antlr.AbstractAntlrMojo
org.codehaus.mojo.antlr.AntlrPlugin
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
,Environment
Generates files based on grammar files with Antlr tool.
- Version:
- $Id: AntlrPlugin.java 13111 2010-11-16 22:16:36Z pgier $
-
Nested Class Summary
Nested classes/interfaces inherited from class org.codehaus.mojo.antlr.AbstractAntlrMojo
AbstractAntlrMojo.NoAntlrDependencyDefinedException
-
Field Summary
Fields inherited from class org.codehaus.mojo.antlr.AbstractAntlrMojo
grammarDefs, grammars, outputDirectory, project, sourceDirectory
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.codehaus.mojo.antlr.AbstractAntlrMojo
addArgIf, executeAntlr, getOutputDirectory, getSourceDirectory, locateAntlrArtifact, performGeneration
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.codehaus.mojo.antlr.Environment
getLog
-
Constructor Details
-
AntlrPlugin
public AntlrPlugin()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
- See Also:
-
Mojo.execute()
-
addArgs
Description copied from class:AbstractAntlrMojo
Add arguments to be included in Antlr call- Specified by:
addArgs
in classAbstractAntlrMojo
- See Also:
-