I would like to be more efficient developing OSGi bundles using karaf.
my ideal process will be:
- karaf running in the background
- deploy all my bundles and dependencies (script)
- make karaf watch my maven local repo for any changes in my bundles
- package & install individual artifacts and let karaf reload them
At the moment I use karaf assembly for production, but this does not allow me to watch the local maven repo, so each build cycle requires stopping and assembling the full karaf distro and run it again which is slow and inefficient.
I also have a feature describing all the dependencies, it will be great if I can reuse it instead of declaring all dependencies manually.
any suggestions how to accomplish this with karaf?
p.s. can this process be done using Gradle?