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() |
EclipsePluginProject |
getEclipsePluginProject()
public for testing purposes
|
String |
getExecutionEnvironment() |
protected File |
getOutputDirectory() |
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(ExecutionEnvironment ee) |
removeEmptyCompileSourceRootspublic static final String RULE_SEPARATOR
public static final String RULE_EXCLUDE_ALL
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoexecute in class AbstractCompilerMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic EclipsePluginProject getEclipsePluginProject() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected File getOutputDirectory()
getOutputDirectory in class AbstractCompilerMojopublic List<String> getClasspathElements() throws org.apache.maven.plugin.MojoExecutionException
getClasspathElements in class AbstractCompilerMojoorg.apache.maven.plugin.MojoExecutionExceptionprotected final List<String> getCompileSourceRoots() throws org.apache.maven.plugin.MojoExecutionException
getCompileSourceRoots in class AbstractCompilerMojoorg.apache.maven.plugin.MojoExecutionExceptionpublic List<SourcepathEntry> getSourcepath() throws org.apache.maven.plugin.MojoExecutionException
JavaCompilerConfigurationgetSourcepath in interface JavaCompilerConfigurationorg.apache.maven.plugin.MojoExecutionExceptionprotected org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(int staleMillis)
getSourceInclusionScanner in class AbstractCompilerMojoprotected org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(String inputFileEnding)
getSourceInclusionScanner in class AbstractCompilerMojoprotected org.codehaus.plexus.compiler.CompilerConfiguration getCompilerConfiguration(List<String> compileSourceRoots) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
getCompilerConfiguration in class AbstractCompilerMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic List<ClasspathEntry> getClasspath() throws org.apache.maven.plugin.MojoExecutionException
JavaCompilerConfigurationgetClasspath in interface JavaCompilerConfigurationorg.apache.maven.plugin.MojoExecutionExceptionpublic String getExecutionEnvironment() throws org.apache.maven.plugin.MojoExecutionException
getExecutionEnvironment in interface JavaCompilerConfigurationorg.apache.maven.plugin.MojoExecutionExceptionpublic String getSourceLevel() throws org.apache.maven.plugin.MojoExecutionException
getSourceLevel in interface JavaCompilerConfigurationorg.apache.maven.plugin.MojoExecutionExceptionpublic String getTargetLevel() throws org.apache.maven.plugin.MojoExecutionException
getTargetLevel in interface JavaCompilerConfigurationorg.apache.maven.plugin.MojoExecutionExceptionpublic String getTargetLevel(ExecutionEnvironment ee) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic <T> T getAdapter(Class<T> adapter)
getAdapter in interface AdaptableCopyright © 2008-2015 Eclipse Foundation. All Rights Reserved.