Class BndMavenPlugin

java.lang.Object
org.apache.maven.plugin.AbstractMojo
aQute.bnd.maven.plugin.AbstractBndMavenPlugin
aQute.bnd.maven.plugin.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 Details

    • sourceDir

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

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

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

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

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

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

    • BndMavenPlugin

      public BndMavenPlugin()
  • Method Details