Package org.structs4java
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 Summary
FieldsModifier and TypeFieldDescriptionprotected static final com.google.common.base.Predicate<String>protected MavenLog4JConfiguratorFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddDependencies(Set<String> classPath, List<org.apache.maven.artifact.Artifact> dependencies) protected voidvoidexecute()protected StructsBatchCompilerprotected abstract Fileprotected org.apache.maven.project.MavenProjectprotected abstract FileMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
log4jConfigurator
-
FILE_EXISTS
-
-
Constructor Details
-
AbstractCompileMojo
public AbstractCompileMojo()
-
-
Method Details
-
getProject
protected org.apache.maven.project.MavenProject getProject() -
getStructsDirectory
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getCompileSourceRoots
-
getClassPath
-
getOutputDirectory
-
addDependencies
-
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
-