Class BndMavenPackagingTestsPlugin

  • 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 Detail

      • classifier

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

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

      • BndMavenPackagingTestsPlugin

        public BndMavenPackagingTestsPlugin()