Class AbstractCompileMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.structs4java.AbstractCompileMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
CompileMojo, TestCompileMojo

public abstract class AbstractCompileMojo extends org.apache.maven.plugin.AbstractMojo
  • Field Details

    • log4jConfigurator

      @Inject protected MavenLog4JConfigurator log4jConfigurator
    • FILE_EXISTS

      protected static final com.google.common.base.Predicate<String> FILE_EXISTS
  • Constructor Details

    • AbstractCompileMojo

      public AbstractCompileMojo()
  • Method Details

    • getProject

      protected org.apache.maven.project.MavenProject getProject()
    • getStructsDirectory

      protected abstract File getStructsDirectory()
    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • getCompileSourceRoots

      protected abstract List<String> getCompileSourceRoots()
    • getClassPath

      protected abstract List<String> getClassPath()
    • getOutputDirectory

      protected abstract File getOutputDirectory()
    • addDependencies

      protected void addDependencies(Set<String> classPath, List<org.apache.maven.artifact.Artifact> dependencies)
    • compile

      protected void compile(String classPath, List<String> sourcePaths, String structSourceRoot, String outputPath) throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • getBatchCompiler

      protected StructsBatchCompiler getBatchCompiler()