public abstract class AbstractOsgiCompilerMojo extends AbstractCompilerMojo implements JavaCompilerConfiguration, Adaptable
Modifier and Type | Field and Description |
---|---|
static String |
RULE_EXCLUDE_ALL
Exclude all but keep looking for other another match
|
static String |
RULE_SEPARATOR |
DEFAULT_SOURCE_VERSION, DEFAULT_TARGET_VERSION, source, target
Constructor and Description |
---|
AbstractOsgiCompilerMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
<T> T |
getAdapter(Class<T> adapter) |
List<ClasspathEntry> |
getClasspath()
Computes and returns compile classpath of a Tycho eclipse-plugin or eclipse-test-plugin
project.
|
List<String> |
getClasspathElements() |
protected org.codehaus.plexus.compiler.CompilerConfiguration |
getCompilerConfiguration(List<String> compileSourceRoots) |
protected List<String> |
getCompileSourceRoots() |
protected abstract List<String> |
getConfiguredCompileSourceRoots() |
EclipsePluginProject |
getEclipsePluginProject()
public for testing purposes
|
String |
getExecutionEnvironment() |
protected File |
getOutputDirectory() |
protected List<String> |
getPdeCompileSourceRoots() |
protected org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner |
getSourceInclusionScanner(int staleMillis) |
protected org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner |
getSourceInclusionScanner(String inputFileEnding) |
String |
getSourceLevel() |
List<SourcepathEntry> |
getSourcepath()
Computes and returns sourcepath of a Tycho eclipse-plugin or eclipse-test-plugin project.
|
String |
getTargetLevel() |
String |
getTargetLevel(String[] executionEnvironments) |
removeEmptyCompileSourceRoots
public static final String RULE_SEPARATOR
public static final String RULE_EXCLUDE_ALL
public void execute() throws org.apache.maven.plugin.MojoExecutionException, CompilationFailureException
execute
in interface org.apache.maven.plugin.Mojo
execute
in class AbstractCompilerMojo
org.apache.maven.plugin.MojoExecutionException
CompilationFailureException
public EclipsePluginProject getEclipsePluginProject() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected File getOutputDirectory()
getOutputDirectory
in class AbstractCompilerMojo
public List<String> getClasspathElements() throws org.apache.maven.plugin.MojoExecutionException
getClasspathElements
in class AbstractCompilerMojo
org.apache.maven.plugin.MojoExecutionException
protected final List<String> getCompileSourceRoots() throws org.apache.maven.plugin.MojoExecutionException
getCompileSourceRoots
in class AbstractCompilerMojo
org.apache.maven.plugin.MojoExecutionException
public List<SourcepathEntry> getSourcepath() throws org.apache.maven.plugin.MojoExecutionException
JavaCompilerConfiguration
getSourcepath
in interface JavaCompilerConfiguration
org.apache.maven.plugin.MojoExecutionException
protected org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(int staleMillis)
getSourceInclusionScanner
in class AbstractCompilerMojo
protected org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(String inputFileEnding)
getSourceInclusionScanner
in class AbstractCompilerMojo
protected List<String> getPdeCompileSourceRoots() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected org.codehaus.plexus.compiler.CompilerConfiguration getCompilerConfiguration(List<String> compileSourceRoots) throws org.apache.maven.plugin.MojoExecutionException
getCompilerConfiguration
in class AbstractCompilerMojo
org.apache.maven.plugin.MojoExecutionException
public List<ClasspathEntry> getClasspath() throws org.apache.maven.plugin.MojoExecutionException
JavaCompilerConfiguration
getClasspath
in interface JavaCompilerConfiguration
org.apache.maven.plugin.MojoExecutionException
public String getExecutionEnvironment() throws org.apache.maven.plugin.MojoExecutionException
getExecutionEnvironment
in interface JavaCompilerConfiguration
org.apache.maven.plugin.MojoExecutionException
public String getSourceLevel() throws org.apache.maven.plugin.MojoExecutionException
getSourceLevel
in interface JavaCompilerConfiguration
org.apache.maven.plugin.MojoExecutionException
public String getTargetLevel() throws org.apache.maven.plugin.MojoExecutionException
getTargetLevel
in interface JavaCompilerConfiguration
org.apache.maven.plugin.MojoExecutionException
public <T> T getAdapter(Class<T> adapter)
getAdapter
in interface Adaptable
Copyright © 2008-2012 Eclipse Foundation. All Rights Reserved.