Class OsgiTestCompilerMojo

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

@Mojo(name="testCompile", defaultPhase=TEST_COMPILE, threadSafe=true, requiresDependencyResolution=TEST) public class OsgiTestCompilerMojo extends AbstractOsgiCompilerMojo
Compiles test sources with eclipse plugin dependencies
  • Constructor Details

    • OsgiTestCompilerMojo

      public OsgiTestCompilerMojo()
  • Method Details

    • 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