public abstract class AbstractCompiler extends Object
Modifier and Type | Field and Description |
---|---|
protected CompilerBuildContext |
context |
protected org.slf4j.Logger |
log |
Modifier | Constructor and Description |
---|---|
protected |
AbstractCompiler(CompilerBuildContext context) |
protected final org.slf4j.Logger log
protected final CompilerBuildContext context
protected AbstractCompiler(CompilerBuildContext context)
public void setOutputDirectory(File outputDirectory)
protected File getOutputDirectory()
public void setSource(String source)
protected String getSource()
public void setTarget(String target)
protected String getTarget()
public void setProc(AbstractCompileMojo.Proc proc)
public void setDebug(Set<AbstractCompileMojo.Debug> debug)
protected Set<AbstractCompileMojo.Debug> getDebug()
protected AbstractCompileMojo.Proc getProc()
public void setGeneratedSourcesDirectory(File generatedSourcesDirectory)
protected File getGeneratedSourcesDirectory()
public void setAnnotationProcessors(String[] annotationProcessors)
protected String[] getAnnotationProcessors()
public void setAnnotationProcessorOptions(Map<String,String> annotationProcessorOptions)
public void setVerbose(boolean verbose)
public void setParameters(boolean parameters)
public void setPrivatePackageReference(AbstractCompileMojo.AccessRulesViolation privatePackageReference)
public AbstractCompileMojo.AccessRulesViolation getPrivatePackageReference()
protected AbstractCompileMojo.AccessRulesViolation getTransitiveDependencyReference()
public void setTransitiveDependencyReference(AbstractCompileMojo.AccessRulesViolation transitiveDependencyReference)
protected boolean isVerbose()
protected boolean isParameters()
public void setPom(File pom)
protected File getPom()
public void setSourceEncoding(Charset sourceEncoding)
protected Charset getSourceEncoding()
public void setShowWarnings(boolean showWarnings)
protected boolean isShowWarnings()
public abstract boolean setProcessorpath(List<File> processorpath) throws IOException
IOException
public abstract boolean setClasspath(List<File> dependencies, File mainClasses, Set<File> directDependencies) throws IOException
IOException
public abstract boolean setSourcepath(List<File> dependencies, Set<File> sourceRoots) throws IOException
IOException
public abstract boolean setSources(List<io.takari.incrementalbuild.ResourceMetadata<File>> sources) throws IOException
IOException
public abstract int compile() throws org.apache.maven.plugin.MojoExecutionException, IOException
org.apache.maven.plugin.MojoExecutionException
IOException
public void skipCompile()
Copyright © 2020. All rights reserved.