public abstract class AbstractCompileMojo extends CompilerMojoSupport implements ClassCompiler.Keys
classpath, compileState, sources
pluginArtifactMap
artifactFactory, artifactMetadataSource, artifactRepository, artifactResolver, log, project, remoteRepositories
ALL, DEBUG, DEFAULT_SCRIPT_EXTENSION, SCRIPT_BASE_CLASSNAME, SOURCE_ENCODING, TARGET_BYTECODE, TOLERANCE, VERBOSE, WARNING_LEVEL
Modifier | Constructor and Description |
---|---|
protected |
AbstractCompileMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
compile(ClassCompiler compiler,
org.apache.maven.shared.model.fileset.FileSet[] sources) |
protected abstract Set |
getForcedCompileSources() |
protected void |
process(Component component) |
addSourceRoot, getDefaultSources, getExcludesFrom, getIncludesFrom, getOutputDirectory, getSourceRoots, getUserClassspathElements, scanForSources, scanForSources
configure, doExecute, feature, feature
detectCompatibleProvider, getProviderManager, getProviderSelection, provider
createArtifact, createClassPath, execute, getArtifact, getProjectClasspathElements, resolveArtifact
protected abstract Set getForcedCompileSources()
protected void process(Component component) throws Exception
process
in class ComponentMojoSupport
Exception
protected void compile(ClassCompiler compiler, org.apache.maven.shared.model.fileset.FileSet[] sources) throws Exception
Exception
Copyright © 2006–2013 Codehaus. All rights reserved.