Package org.eclipse.xtext.maven
Class XtextGenerateMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.eclipse.xtext.maven.AbstractXtextMojo
org.eclipse.xtext.maven.AbstractXtextGeneratorMojo
org.eclipse.xtext.maven.XtextGenerateMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="generate",
defaultPhase=GENERATE_SOURCES,
requiresDependencyResolution=COMPILE,
threadSafe=true)
public class XtextGenerateMojo
extends AbstractXtextGeneratorMojo
Generates sources of all contributing
ISetup language instances- Author:
- Jan Rosczak - Initial contribution and API
-
Field Summary
Fields inherited from class org.eclipse.xtext.maven.AbstractXtextMojo
lockFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidMethods inherited from class org.eclipse.xtext.maven.AbstractXtextGeneratorMojo
emptyStringFilter, execute, getEncoding, getProjectMappings, internalExecute, isIncludePluginDependencies, setProjectMappings, tmpDirSuffixMethods inherited from class org.eclipse.xtext.maven.AbstractXtextMojo
addCompileSourceRoots, addTestCompileSourceRoots, getLanguages, getProject, resolveFilePathMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
XtextGenerateMojo
public XtextGenerateMojo()
-
-
Method Details
-
getClasspathElements
- Specified by:
getClasspathElementsin classAbstractXtextGeneratorMojo- Returns:
- resolved class path elements
-
configureMavenOutputs
protected void configureMavenOutputs()- Specified by:
configureMavenOutputsin classAbstractXtextGeneratorMojo
-
getSourceRoots
- Specified by:
getSourceRootsin classAbstractXtextGeneratorMojo
-