public abstract class AbstractCompileMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.common.base.Predicate<String> |
FILE_EXISTS |
protected MavenLog4JConfigurator |
log4jConfigurator |
| Constructor and Description |
|---|
AbstractCompileMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDependencies(Set<String> classPath,
List<org.apache.maven.artifact.Artifact> dependencies) |
protected void |
compile(String classPath,
List<String> sourcePaths,
String structSourceRoot,
String outputPath) |
void |
execute() |
protected StructsBatchCompiler |
getBatchCompiler() |
protected abstract List<String> |
getClassPath() |
protected abstract List<String> |
getCompileSourceRoots() |
protected abstract File |
getOutputDirectory() |
protected org.apache.maven.project.MavenProject |
getProject() |
protected abstract File |
getStructsDirectory() |
@Inject protected MavenLog4JConfigurator log4jConfigurator
protected static final com.google.common.base.Predicate<String> FILE_EXISTS
protected org.apache.maven.project.MavenProject getProject()
protected abstract File getStructsDirectory()
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected abstract File getOutputDirectory()
protected void addDependencies(Set<String> classPath, List<org.apache.maven.artifact.Artifact> dependencies)
protected void compile(String classPath, List<String> sourcePaths, String structSourceRoot, String outputPath) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected StructsBatchCompiler getBatchCompiler()
Copyright © 2017. All rights reserved.