Class BndMavenPlugin

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    Direct Known Subclasses:
    BndMavenPackagingPlugin

    @Mojo(name="bnd-process",
          defaultPhase=PROCESS_CLASSES,
          requiresDependencyResolution=COMPILE,
          threadSafe=true)
    public class BndMavenPlugin
    extends AbstractBndMavenPlugin
    Processes the target classes to generate OSGi metadata.

    This goal has the default phase of "process-classes".

    • Field Detail

      • sourceDir

        @Parameter(defaultValue="${project.build.sourceDirectory}",
                   readonly=true)
        private java.io.File sourceDir
      • resources

        @Parameter(defaultValue="${project.build.resources}",
                   readonly=true)
        private java.util.List<org.apache.maven.model.Resource> resources
      • classesDir

        @Parameter(defaultValue="${project.build.outputDirectory}")
        private java.io.File classesDir
        The directory where the maven-compiler-plugin places its output.
      • outputDir

        @Parameter(defaultValue="${project.build.outputDirectory}")
        private java.io.File outputDir
        The directory where this plugin will store its output.
      • manifestPath

        @Parameter(defaultValue="${project.build.outputDirectory}/META-INF/MANIFEST.MF")
        java.io.File manifestPath
        Specify the path to store the generated manifest file.
      • skip

        @Parameter(property="bnd.skip",
                   defaultValue="false")
        boolean skip
        Skip this goal.
    • Constructor Detail

      • BndMavenPlugin

        public BndMavenPlugin()