Hi folks, Currently there are 8 open issues for the maven-bundle-plugin. I've written up a short one-line status for each of them (inc. # of votes, whether a patch exists) along with a suggested course of action in another table. (see attached file)
The suggested actions are all MHO, so apologies if I've misrepresented any of the issues, or the patches. Please post a follow-up message pointing out any mistakes, updates or alternative suggestions. Basically I recommend looking at FELIX-199 first, as it also solves several other issues. The one thorny area is over maven dependencies: whether to get the user to handle this outside in the pom with other plugins, or to add options to the bundle plugin for the sake of convenience (FELIX-255/262). -- Cheers, Stuart
KEY | PRIORITY | VOTES | PATCH | SUMMARY ==========+==========+=======+=======+========================================================== FELIX-199 | Major | 3 | YES | NEW: Add recursive goal to generate bundles for all deps FELIX-261 | Major | 0 | YES | NEW: Add all maven resource folders to Include-Resources FELIX-219 | Minor | 0 | YES | NEW: Install bundles to a local bundle repository FELIX-218 | Minor | 0 | YES | NEW: Support BND directives in pom.xml instructions ----------+----------+-------+-------+---------------------------------------------------------- FELIX-247 | Minor | 0 | YES | NEW: Add ant goal to create build.xml and MANIFEST.MF FELIX-257 | Major | 1 | NO | NEW: Manifest generation outside the bundle (jar) ----------+----------+-------+-------+---------------------------------------------------------- FELIX-253 | Major | 0 | NO | BUG: Dependency ignored when it contains excludes FELIX-255 | Major | 0 | NO | NEW: Wrapping and excludeTransitive ----------+----------+-------+-------+---------------------------------------------------------- KEY | SUGGESTED ACTION ==========+====================================================================================== | FELIX-199 | WALKTHROUGH then TEST+COMMIT: would solve several issues, but non-trivial patch. | Recommend looking at this first out of all patches as it has 3 votes and several | people willing to help test. | ----------+-------------------------------------------------------------------------------------- | FELIX-261 | INVESTIGATE: need to look into maven resource handling wrt. non-standard target dir | ----------+-------------------------------------------------------------------------------------- | FELIX-219 | INVESTIGATE: mostly additions of new goals, but requires patch to bundlerepository | which might impact existing bundle repositories (someone needs to clarify this) | ----------+-------------------------------------------------------------------------------------- | FELIX-218 | TEST+COMMIT: trivial, won't affect valid manifest entries (which start with alphanum) | ----------+-------------------------------------------------------------------------------------- | FELIX-247 | CLOSE: MANIFEST.MF requirement covered by FELIX-199 | ----------+-------------------------------------------------------------------------------------- | FELIX-257 | CLOSE: MANIFEST.MF requirement covered by FELIX-199. The build.xml part of the patch | relies on code copied from ant-plugin, which I don't believe is the best solution. | (Why not just run the current maven-ant-plugin goal 'ant:ant' to get the build.xml?) | ----------+-------------------------------------------------------------------------------------- | FELIX-253 | NEED MORE INFO: the maven pom snippet posted is not the suggested way of excluding | transitive dependencies - you're supposed to add <exclusion> tags. Have commented | on issue asking reporter to try this approach. | ----------+-------------------------------------------------------------------------------------- | FELIX-255 | CLOSE: this use-case can be handled by using the maven-dependency-plugin to unpack | the single dependency into the build folder. There is also talk of simplifying the | exclusion of transitive dependencies in Maven 2.1, by using dependency profiles. | | (related to FELIX-262, which can also be solved with the maven-dependency-plugin) | | If using the maven-dependency-plugin is not an option then the whole dependency | area of the bundle plugin needs investigation to allow the use of provided scope | dependencies that are not currently picked up by the plugin (see FELIX-262). ----------+--------------------------------------------------------------------------------------