Class OsgiCompilerMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, JavaCompilerConfiguration

@Mojo(name="compile", defaultPhase=COMPILE, requiresDependencyResolution=COMPILE, threadSafe=true) public class OsgiCompilerMojo extends AbstractOsgiCompilerMojo
Compiles application sources with eclipse plugin dependencies
  • Constructor Details

    • OsgiCompilerMojo

      public OsgiCompilerMojo()
  • Method Details

    • doFinish

      protected void doFinish() throws org.apache.maven.plugin.MojoExecutionException
      Description copied from class: AbstractOsgiCompilerMojo
      Subclasses might override this method to perform final tasks and as a last opportunity to fail the compile
      Overrides:
      doFinish in class AbstractOsgiCompilerMojo
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • getSourcepath

      public List<org.eclipse.tycho.SourcepathEntry> getSourcepath() throws org.apache.maven.plugin.MojoExecutionException
      Description copied from interface: JavaCompilerConfiguration
      Computes and returns sourcepath of a Tycho eclipse-plugin or eclipse-test-plugin project.
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • getDependencyScope

      protected String getDependencyScope()
      Specified by:
      getDependencyScope in class AbstractOsgiCompilerMojo