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
@Mojo(name="generate", defaultPhase=GENERATE_SOURCES, requiresDependencyResolution=COMPILE) public class AntlrPlugin extends AbstractAntlrMojo
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
-
-
Constructor Summary
Constructors Constructor Description AntlrPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addArgs(java.util.List arguments)
Add arguments to be included in Antlr callvoid
execute()
-
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
-
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
- See Also:
Mojo.execute()
-
addArgs
protected void addArgs(java.util.List arguments)
Description copied from class:AbstractAntlrMojo
Add arguments to be included in Antlr call- Specified by:
addArgs
in classAbstractAntlrMojo
- See Also:
AbstractAntlrMojo.addArgs(java.util.List)
-
-