Plugin Documentation

Goals available for this plugin:

GoalReport?Description
bundle:antNoGenerate Ant script to create the bundle (you should run ant:ant first).
bundle:baselineNoBND Baseline check between two bundles.
bundle:baseline-reportYesBND Baseline report.
bundle:bundleNoCreate an OSGi bundle from Maven project
bundle:bundleallNoDeprecated. The bundleall goal is no longer supported and may be removed in a future release
bundle:cleanNoClean an OBR repository by finding and removing missing resources.
bundle:cleanVersionsNoConvert a group of versions to OSGi format.
bundle:deployNoDeploys bundle details to a remote OBR repository (life-cycle goal)
bundle:deploy-fileNoDeploys bundle details to a remote OBR repository (command-line goal)
bundle:indexNoIndex the content of a maven repository using OBR
bundle:installNoInstalls bundle details in the local OBR repository (life-cycle goal)
bundle:install-fileNoInstalls bundle details in the local OBR repository (command-line goal)
bundle:instructionsNoGenerate BND instructions for this project
bundle:manifestNoGenerate an OSGi manifest for this project
bundle:remote-cleanNoClean a remote repository file. It just looks for every resources and check that pointed file exists.
bundle:wrapNoDeprecated. The wrap goal is no longer supported and may be removed in a future release

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven2.0
JDK1.5
MemoryNo minimum requirement.
Disk SpaceNo minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.felix</groupId>
          <artifactId>maven-bundle-plugin</artifactId>
          <version>2.5.0</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <version>2.5.0</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
  <!-- To use the report goals in your POM or parent POM -->
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <version>2.5.0</version>
      </plugin>
      ...
    </plugins>
  </reporting>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"