public abstract class AbstractOsgiCompilerMojo extends AbstractCompilerMojo implements org.eclipse.tycho.classpath.JavaCompilerConfiguration, org.eclipse.tycho.runtime.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<org.eclipse.tycho.classpath.ClasspathEntry> |
getClasspath() |
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<org.eclipse.tycho.classpath.SourcepathEntry> |
getSourcepath() |
String |
getTargetLevel() |
String |
getTargetLevel(org.eclipse.tycho.core.ee.shared.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<org.eclipse.tycho.classpath.SourcepathEntry> getSourcepath() throws org.apache.maven.plugin.MojoExecutionException
getSourcepath in interface org.eclipse.tycho.classpath.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<org.eclipse.tycho.classpath.ClasspathEntry> getClasspath() throws org.apache.maven.plugin.MojoExecutionException
getClasspath in interface org.eclipse.tycho.classpath.JavaCompilerConfigurationorg.apache.maven.plugin.MojoExecutionExceptionpublic String getExecutionEnvironment() throws org.apache.maven.plugin.MojoExecutionException
getExecutionEnvironment in interface org.eclipse.tycho.classpath.JavaCompilerConfigurationorg.apache.maven.plugin.MojoExecutionExceptionpublic String getSourceLevel() throws org.apache.maven.plugin.MojoExecutionException
getSourceLevel in interface org.eclipse.tycho.classpath.JavaCompilerConfigurationorg.apache.maven.plugin.MojoExecutionExceptionpublic String getTargetLevel() throws org.apache.maven.plugin.MojoExecutionException
getTargetLevel in interface org.eclipse.tycho.classpath.JavaCompilerConfigurationorg.apache.maven.plugin.MojoExecutionExceptionpublic String getTargetLevel(org.eclipse.tycho.core.ee.shared.ExecutionEnvironment ee) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic <T> T getAdapter(Class<T> adapter)
getAdapter in interface org.eclipse.tycho.runtime.AdaptableCopyright © 2008–2019 Eclipse Foundation. All rights reserved.