Maven Bundle Plugin

##### Overview

- Introduction
- Goals
- Wiki
- FAQ
- Release Notes

##### Project Documentation

- Project Information
- Project Reports
  - JIRA Report
  - Plugin Documentation
  - Source Xref
  - Surefire Report
  - Test Source Xref

## JIRA Report

Key | Summary | Status | Resolution | By
--- | --- | --- | --- | ---
FELIX-4005 | Maven Bundle Plugin fails with ArrayIndexOutOfBoundsException, "Invalid Class File" errors with Java 8 features | Closed | Fixed |
FELIX-3347 | Upper-case environment variables end up in final manifest | Closed | Fixed | Stuart McCulloch
FELIX-2765 | bundle plugin throw IllegalArgumentException while do the install | Closed | Fixed |
FELIX-661 | maven bundle plugin does not close the accessed fie /jar streams | Closed | Fixed | Stuart McCulloch
FELIX-4067 | Old BND used causes problems during annotations processing | Closed | Fixed |
FELIX-3585 | Dependencies with classes or resources in the default package cannot be embedded | Closed | Fixed |
FELIX-2934 | Bundle-ClassPath contains "." despite using _wab instruction | Closed | Fixed | Stuart McCulloch
FELIX-4539 | Update to Bndlib 2.3.0 | Resolved | Fixed | Stuart McCulloch
FELIX-4518 | Provide a way to disable some plugins | Resolved | Fixed | Guillaume Nodet
FELIX-4517 | Generate generic capabilities and requirements for services from blueprint and scr descriptors | Resolved | Fixed | Guillaume Nodet
FELIX-4512 | Add a new Mojo to invoke the BND Baseline tool | Closed | Fixed | Carsten Ziegeler
FELIX-4017 | @ProviderType does not work (bnd "provide:=true" annotation?) | Closed | Fixed |
FELIX-3973 | Exclusion from {local-packages} doesn't work anymore | Closed | Fixed |
FELIX-3638 | Missing package import for annotation default value | Closed | Fixed |
FELIX-3630 | Packages exported by bundle are (re)-imported with incorrect version | Closed | Fixed |
FELIX-3602 | The bundle plugin should generate the blueprint header with the file locations | Closed | Fixed | Guillaume Nodet
FELIX-3601 | Incorrect namespace in component XML for DS Annotations | Closed | Fixed |
FELIX-3497 | Wrong artifact type attached as a secondary artifact when project packaging is set to "pom" | Closed | Fixed |
FELIX-3462 | Nicer Manifest formatting | Resolved | Fixed | Guillaume Nodet
FELIX-3407 | Imports are missed for generics | Closed | Fixed |
FELIX-3352 | Maven Bundle Plugin ignores resource properties configured inside <filters> section | Closed | Fixed |
FELIX-3349 | wrong bundle manifest contents in some cases | Closed | Fixed |
FELIX-3310 | [patch] maven-bundle-plugin build fails with maven3 (manageArtifactSystemPath is missing) | Closed | Fixed | Stuart McCulloch
FELIX-3293 | Exception while creating empty fragment bundles with version 2.3.6 | Closed | Fixed |
FELIX-3254 | manifest goal generates wrong Export-Package when Embed-Dependency | Closed | Fixed | Stuart McCulloch
FELIX-3222 | [PATCH] build fails with "unreported exception" | Closed | Fixed | Stuart McCulloch
FELIX-3210 | Maven bundle plugin remote-clean goal without user confirmation | Closed | Fixed | Stuart McCulloch
FELIX-3209 | Make sure the properties passed to BND only include string values | Closed | Fixed | Stuart McCulloch
FELIX-3208 | Provide default value for sourcepath when using BND -sources=true | Closed | Fixed | Stuart McCulloch
FELIX-3206 | Restore the BND analyzer approach which creates a MANIFEST.MF based on the contents of the jar | Closed | Fixed | Stuart McCulloch
FELIX-3188 | [PATCH] exception org.apache.maven.project.artifact.InvalidDependencyVersionException has already been caught | Closed | Fixed | Stuart McCulloch
FELIX-3185 | Negative Embed-Dependency clauses aren't handled correctly | Closed | Fixed | Stuart McCulloch
FELIX-3165 | Add an option to the manifest goal that will copy any BND generated resources to the target folder | Closed | Fixed | Stuart McCulloch
FELIX-3092 | Support relative paths in "urlTemplate" parameter of "bundle:index" goal in maven bundle plugin | Closed | Fixed | Stuart McCulloch
FELIX-3061 | improvements to Embed-Dependency logic to allow better m2e integration | Closed | Fixed | Stuart McCulloch
FELIX-3058 | maven-bundle-plugin 2.3.5 incompatible with maven-source-plugin (regression) | Closed | Fixed | Stuart McCulloch
FELIX-3037 | Plugin does not work with Java 5 | Closed | Fixed | Stuart McCulloch
FELIX-3031 | maven3 deployment fails where maven2 works | Closed | Fixed | Stuart McCulloch
FELIX-3011 | Add a new goal to save the bnd instructions that would be passed onto bnd, to allow people to use other toolchains such as bndtools | Closed | Fixed | Stuart McCulloch
FELIX-2884 | The multiplicity isn't taken into account by the maven bundle plugin and bundlerepository when generating the repository xml | Closed | Fixed | Guillaume Nodet
FELIX-2872 | Provide a way to have an easier to read manifest | Closed | Fixed | Stuart McCulloch
FELIX-2820 | Provide a default value when using <_wab/> | Closed | Fixed | Stuart McCulloch
FELIX-2819 | packageinfo files in src/main/java are ignored | Closed | Fixed | Stuart McCulloch
FELIX-2812 | The <Embed-Dependency> filter can fail if your matching against multiple "*" artifact ids. | Closed | Fixed | Hiram Chirino
FELIX-2811 | If <Private-Package>!*</Private-Package> is defined the all packages should be exported by {local-packages} | Closed | Fixed | Hiram Chirino
FELIX-2808 | maven-bundle-plugin should scan for local packages by looking for *.class files instead of *.java so that all the JVM languages can be supported. | Closed | Fixed | Hiram Chirino
FELIX-2701 | Add a {local-packages} macro for automatically expanding local packages in the <Export-Package> instruction | Closed | Fixed | Guillaume Nodet
FELIX-2692 | Support maven type 'wab' for web bundles | Closed | Fixed | Stuart McCulloch
FELIX-2449 | Resource filtering does not use Maven properties specified on the mvn command line via -D command line switches | Closed | Fixed | Stuart McCulloch
FELIX-2435 | <supportedProjectType> on a WAR file will switch the project to generate jar artifacts | Closed | Fixed | Stuart McCulloch
FELIX-2427 | maven site crashes | Closed | Fixed | Stuart McCulloch
FELIX-2346 | mvn bundle:clean removes all, even the existing resources | Closed | Fixed | Stuart McCulloch
FELIX-2215 | Refactor bundlerepository and maven bundle plugin obr data model | Closed | Fixed | Guillaume Nodet
FELIX-2210 | Bogus import entries | Closed | Fixed | Stuart McCulloch
FELIX-2194 | The manifest and bundle goals seem to generate different manifest informations | Closed | Fixed | Stuart McCulloch
FELIX-2176 | Upgrade maven-bundle-plugin to up to date bnd | Closed | Fixed | Richard S. Hall
FELIX-2175 | Improve the Blueprint component to parse / introspect blueprint configuration files and generate OBR service requirements / capabilities accordingly | Closed | Fixed | Guillaume Nodet
FELIX-2173 | Fix inconsistent maven->osgi version conversion between maven-bundle-plugin and DefaultMaven2OsgiConverter | Closed | Fixed | Guillaume Nodet
FELIX-2155 | The maven bundle plugin generates wrong capabilities for packages with directives | Closed | Fixed | Guillaume Nodet
FELIX-2112 | Carriage returns are removed from instructions, but the lines should be trimmed alltogether | Closed | Fixed | Guillaume Nodet
FELIX-2048 | Service-Component property doesn't allow to use wildcards for filenames | Closed | Fixed | Stuart McCulloch
FELIX-1951 | The SchemaObr.xsd in bundleplugin is incomplete | Closed | Fixed | Guillaume Nodet
FELIX-1936 | Create Output Directory for Resource-Only WARs | Closed | Fixed | Stuart McCulloch
FELIX-1820 | Fragment-Host version not converted | Closed | Fixed | Stuart McCulloch
FELIX-1734 | The _donotcopy is ignored | Closed | Fixed | Stuart McCulloch
FELIX-1634 | Maven Bundle Plugin disables transitive dependencies | Closed | Fixed | Stuart McCulloch
FELIX-1571 | Bundle-ClassPath without "." while using maven-bundle-plugin in a war project confuses the plugin | Closed | Fixed | Stuart McCulloch
FELIX-1568 | Goal to transform a maven version into an OSGi version | Closed | Fixed | Guillaume Nodet
FELIX-1552 | Add support for blueprint and spring-dm declarations to import the discovered packages | Closed | Fixed | Guillaume Nodet
FELIX-1539 | generated-classes not included in bundle | Closed | Fixed | Stuart McCulloch
FELIX-1501 | Using a macro in Bundle-Version with the manifest goal causes garbage in the Export-Package and Private-Package headers. | Closed | Fixed | Stuart McCulloch
FELIX-1461 | Corrupted repository.xml when maven is run in parallel | Closed | Fixed | Stuart McCulloch
FELIX-1439 | maven-bundle-plugin resource filtering does not substitute project.organization.* | Closed | Fixed | Stuart McCulloch
FELIX-1262 | [regression] shared archive resources cannot be found | Closed | Fixed | Stuart McCulloch
FELIX-1148 | NPE during bundleall goal | Closed | Fixed | Stuart McCulloch
FELIX-1054 | The deploy and deploy-file plugin should write the computed bundle uri | Closed | Fixed | Clement Escoffier
FELIX-1039 | Inconsistency packaging vs. type | Closed | Fixed | Stuart McCulloch
FELIX-1023 | Category Information not exported to obr file | Closed | Fixed | Stuart McCulloch
FELIX-1021 | Classifier always used even if not explicitly set in the configuration | Closed | Fixed | Stuart McCulloch
FELIX-1017 | Generic types ignored when generating MANIFEST.MF | Closed | Fixed | Stuart McCulloch
FELIX-954 | Import-Package should include packages from optional Maven dependencies with resolution=optional | Closed | Fixed |
FELIX-941 | Support singleton & fragment-attachment directive generation | Closed | Fixed | Stuart McCulloch
FELIX-907 | Regression in latest BND code: negated exports are applied to private packages | Closed | Fixed | Peter Kriens
FELIX-899 | Version attribute missing from Import-Package on provided dependencies | Closed | Fixed | Stuart McCulloch
FELIX-843 | Regression: BND 0.0.295 does not augment Ignore-Package with excluded import packages | Closed | Fixed | Peter Kriens
FELIX-831 | bndlib unnecessary modifies valid OSGi Bundle-Version numbers (update to bndlib 0.0.293) | Closed | Fixed | Stuart McCulloch
FELIX-806 | changing the internal configuration of the archive plugin doesn't seem to be possible | Closed | Fixed | Stuart McCulloch
FELIX-782 | Manifest goal ignores version attribute specified in _exportcontents | Closed | Fixed | Stuart McCulloch
FELIX-759 | Version range in import declaration creates a filter using invalid operators (<,>) | Closed | Fixed | Stuart McCulloch
FELIX-699 | manifest goal does not interprete _include instruction correctly | Closed | Fixed | Stuart McCulloch
FELIX-677 | Parser throws error when DynamicImport-Package contains attributes | Closed | Fixed | Stuart McCulloch
FELIX-660 | "Class in different directory than declared" error when bundle classes in a directory other than bundle root | Closed | Fixed | Peter Kriens
FELIX-636 | Bundle-SymbolicName is generated incorrectly | Closed | Fixed | Stuart McCulloch
FELIX-620 | manifest goal of maven-bundle-plugin ignores _include instruction | Closed | Fixed | Stuart McCulloch
FELIX-580 | Allows maven-bunde-plugin to generate a repository file outide a maven repository with absolute url | Closed | Fixed | Stuart McCulloch