Goals available for this plugin:
Goal | Report? | Description |
---|---|---|
bundle:ant | No | Generate Ant script to create the bundle (you should run ant:ant first). |
bundle:baseline | No | BND Baseline check between two bundles. |
bundle:baseline-report | Yes | BND Baseline report. |
bundle:bundle | No | Create an OSGi bundle from Maven project |
bundle:bundleall | No | Deprecated. The bundleall goal is no longer supported and may be removed in a future release |
bundle:clean | No | Clean an OBR repository by finding and removing missing resources. |
bundle:cleanVersions | No | Convert a group of versions to OSGi format. |
bundle:deploy | No | Deploys bundle details to a remote OBR repository (life-cycle goal) |
bundle:deploy-file | No | Deploys bundle details to a remote OBR repository (command-line goal) |
bundle:index | No | Index the content of a maven repository using OBR |
bundle:install | No | Installs bundle details in the local OBR repository (life-cycle goal) |
bundle:install-file | No | Installs bundle details in the local OBR repository (command-line goal) |
bundle:instructions | No | Generate BND instructions for this project |
bundle:manifest | No | Generate an OSGi manifest for this project |
bundle:remote-clean | No | Clean a remote repository file. It just looks for every resources and check that pointed file exists. |
bundle:wrap | No | Deprecated. The wrap goal is no longer supported and may be removed in a future release |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 2.0 |
JDK | 1.5 |
Memory | No minimum requirement. |
Disk Space | No minimum requirement. |
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"