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:
- ContextEnabled, Mojo, Environment
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 $
- Author:
- Vincent Siveton
- Is bound to the specified phase of the standard build lifecycle:
- generate-sources
- Requires the dependencies in this specified scope:
- compile
- Is defined by the goal name:
- generate
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
protected void |
addArgs(List arguments)
Add arguments to be included in Antlr call |
void |
execute()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AntlrPlugin
public AntlrPlugin()
execute
public void execute()
throws MojoExecutionException
- Throws:
MojoExecutionException
- See Also:
Mojo.execute()
addArgs
protected void addArgs(List arguments)
- Description copied from class:
AbstractAntlrMojo
- Add arguments to be included in Antlr call
- Specified by:
addArgs
in class AbstractAntlrMojo
- See Also:
AbstractAntlrMojo.addArgs(java.util.List)
Copyright © 2004-2012 Codehaus. All Rights Reserved.