The easiest way is to start clearing the caraf and install your function. Of course you can script this part.
Then enter bundle:watch *. This oversees your local maven registry for changes to SNAPSHOT packages.
If you are now executing a mvn clean installpackage in a separate project, the package is automatically updated.
karaf karaf debug. karaf . , eclipse 5005. : . mvn clean install bundle . , , .
, : , karaf. , karaf, . , , maven. , karaf.