GitHub user mcculls opened a pull request: https://github.com/apache/karaf/pull/38
When a feature is generated from a bundle project, include that bundle in the feature We're migrating a custom plugin framework over to Karaf and would like to both create the OSGi bundle and generate the associated Karaf feature in the same Maven project. Otherwise downstream clients will need to create two Maven projects for each plugin: one to create the bundle, and one to create the Karaf feature. The proposed change is to consider the project packaging, and if it is "bundle" then include the main project artifact (ie. the bundle itself) in the generated feature. This requires no configuration change and should not affect anyone generating features in isolation. We could also add a new flag such as "includeProjectArtifact" so this change has to be explicitly enabled, if people prefer. You can merge this pull request into a Git repository by running: $ git pull https://github.com/mcculls/karaf support-bundle-project-with-feature Alternatively you can review and apply these changes as the patch at: https://github.com/apache/karaf/pull/38.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #38 ---- commit a5a7c767330232e3f6848f606412f9d725465658 Author: Stuart McCulloch <mccu...@gmail.com> Date: 2014-05-01T14:45:59Z When a feature is generated from a bundle project, include that bundle in the feature ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---