Bug#881297: An example debian package
I currently use this self-packaged debian package:
https://github.com/steinarb/karaf-deb-packaging
This debian package isn't built according to debian java standards so it
isn't immediately useful for a "real" karaf .deb package, but there may
be stuff in the installation scripts that could be borrowed.
I forked my github project from this project
https://github.com/DemisR/karaf-deb-packaging
and did the following:
1. Switched from Oracle Java SDK to openjdk
2. Switched from using the proprietary karaf-wrapper to using the
included init scrips (and later systemd)
3. Tried using /var/lib/karaf
4. Updated the karaf version several times
This document describe (in Norwegian, unfortunately), how to build the
.deb package on a debian system and then start karaf (steps 1, 2 and 3),
and then ssh into karaf (step 5), add an extra maven repository (step 6)
and use maven to provision and start a web application (step 7):
https://github.com/steinarb/ukelonn#oppsett-av-webappen-på-en-server-med-debian-gnulinux
Reply to: