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

public abstract class AbstractXtextGeneratorMojo extends AbstractXtextMojo
Author:
Dennis Huebner - Initial contribution and API
  • Constructor Details

    • AbstractXtextGeneratorMojo

      public AbstractXtextGeneratorMojo()
  • Method Details

    • getEncoding

      public String getEncoding()
    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException
    • internalExecute

      protected void internalExecute() throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • getSourceRoots

      protected abstract List<String> getSourceRoots()
    • tmpDirSuffix

      protected String tmpDirSuffix()
    • emptyStringFilter

      protected com.google.common.base.Predicate<String> emptyStringFilter()
    • getClasspathElements

      public abstract Set<String> getClasspathElements()
      Returns:
      resolved class path elements
    • configureMavenOutputs

      protected abstract void configureMavenOutputs()
    • getProjectMappings

      public List<ProjectMapping> getProjectMappings()
    • setProjectMappings

      public void setProjectMappings(List<ProjectMapping> projectMappings)
    • isIncludePluginDependencies

      protected boolean isIncludePluginDependencies()