Package org.eclipse.tycho.compiler
Class OsgiCompilerMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
copied.org.apache.maven.plugin.AbstractCompilerMojo
org.eclipse.tycho.compiler.AbstractOsgiCompilerMojo
org.eclipse.tycho.compiler.OsgiCompilerMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo,org.eclipse.tycho.classpath.JavaCompilerConfiguration,org.eclipse.tycho.runtime.Adaptable
@Mojo(name="compile",
defaultPhase=COMPILE,
requiresDependencyResolution=COMPILE,
threadSafe=true)
public class OsgiCompilerMojo
extends AbstractOsgiCompilerMojo
Compiles application sources with eclipse plugin dependencies
-
Field Summary
Fields inherited from class org.eclipse.tycho.compiler.AbstractOsgiCompilerMojo
project, RULE_EXCLUDE_ALL, RULE_SEPARATORFields inherited from class copied.org.apache.maven.plugin.AbstractCompilerMojo
DEFAULT_SOURCE_VERSION, DEFAULT_TARGET_VERSION, release, source, targetFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.tycho.compiler.AbstractOsgiCompilerMojo
execute, getAdapter, getBREE, getBundleProject, getClasspath, getClasspathElements, getCompilerConfiguration, getCompileSourceExcludePaths, getCompileSourceRoots, getEclipsePluginProject, getExecutionEnvironment, getOutputDirectory, getReleaseLevel, getSourceInclusionScanner, getSourceInclusionScanner, getSourceLevel, getTargetLevelMethods inherited from class copied.org.apache.maven.plugin.AbstractCompilerMojo
removeEmptyCompileSourceRootsMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
OsgiCompilerMojo
public OsgiCompilerMojo()
-
-
Method Details
-
doFinish
protected void doFinish() throws org.apache.maven.plugin.MojoExecutionExceptionDescription copied from class:AbstractOsgiCompilerMojoSubclasses might override this method to perform final tasks and as a last opportunity to fail the compile- Overrides:
doFinishin classAbstractOsgiCompilerMojo- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getSourcepath
public List<org.eclipse.tycho.classpath.SourcepathEntry> getSourcepath() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-