Class BndMavenPackagingPlugin

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="jar",
          defaultPhase=PACKAGE,
          requiresProject=true,
          requiresDependencyResolution=COMPILE,
          threadSafe=true)
    public class BndMavenPackagingPlugin
    extends BndMavenPlugin
    Generate OSGi metadata for the target classes and package into a jar.

    This goal has the default phase of "package".

    • Field Detail

      • classifier

        @Parameter
        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

      • BndMavenPackagingPlugin

        public BndMavenPackagingPlugin()