Plugin Documentation

Goals available for this plugin:

GoalDescription
bundle:antGenerate Ant script to create the bundle (you should run ant:ant first).
bundle:bundleCreate an OSGi bundle from Maven project
bundle:bundleallDeprecated. The bundleall goal is no longer supported and may be removed in a future release
bundle:cleanClean an OBR repository by finding and removing missing resources.
bundle:cleanVersionsNo description.
bundle:deployDeploys bundle details to a remote OBR repository (life-cycle goal)
bundle:deploy-fileDeploys bundle details to a remote OBR repository (command-line goal)
bundle:indexIndex the content of a maven repository using OBR
bundle:installInstalls bundle details in the local OBR repository (life-cycle goal)
bundle:install-fileInstalls bundle details in the local OBR repository (command-line goal)
bundle:instructionsGenerate BND instructions for this project
bundle:manifestGenerate an OSGi manifest for this project
bundle:remote-cleanClean a remote repository file. It just looks for every resources and check that pointed file exists.
bundle:wrapDeprecated. 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.3.7</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.3.7</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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