Package org.eclipse.xtext.maven
Class AbstractXtextGeneratorMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.eclipse.xtext.maven.AbstractXtextMojo
org.eclipse.xtext.maven.AbstractXtextGeneratorMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
XtextGenerateMojo,XtextTestGenerateMojo
- Author:
- Dennis Huebner - 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 abstract voidprotected com.google.common.base.Predicate<String>voidexecute()protected voidprotected booleanvoidsetProjectMappings(List<ProjectMapping> projectMappings) protected StringMethods 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
-
AbstractXtextGeneratorMojo
public AbstractXtextGeneratorMojo()
-
-
Method Details
-
getEncoding
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
internalExecute
protected void internalExecute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getSourceRoots
-
tmpDirSuffix
-
emptyStringFilter
-
getClasspathElements
- Returns:
- resolved class path elements
-
configureMavenOutputs
protected abstract void configureMavenOutputs() -
getProjectMappings
-
setProjectMappings
-
isIncludePluginDependencies
protected boolean isIncludePluginDependencies()
-