Class BndMavenPackagingTestsPlugin

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

@Mojo(name="test-jar", defaultPhase=PACKAGE, requiresProject=true, requiresDependencyResolution=TEST, threadSafe=true) public class BndMavenPackagingTestsPlugin extends BndMavenTestsPlugin
Generate OSGi metadata for the test target classes and package into a jar.

This goal has the default phase of "package".

  • Field Details

    • classifier

      @Parameter(defaultValue="tests") String classifier
      The classifier to use for the generated artifact.
    • outputDir

      @Parameter(defaultValue="${project.build.directory}") File outputDir
      The directory where this plugin will store the generated artifact.
  • Constructor Details

    • BndMavenPackagingTestsPlugin

      public BndMavenPackagingTestsPlugin()
  • Method Details