as I recently managed to upgrade my openhab to 2.x (2.2 currently), I’d like to migrate my diyonxbee binding to be a native openhab 2 binding (the old version doesn’t work well in oh2). My very first problem is that I’d like to add a 3rd party dependency, which on it’s own depends on rxtx which, as far as I read, is provided in openhab2 via
<feature>openhab-transport-serial</feature>. The library I want to use is not a OSGI bundle.
The question is, how I can resolve this.
- Do I manually add the OSGI descriptors to that bundle? (would that mean I have to fork it?)
- Or could I use the wrap mechanism?
Thanks in advance for any guidance.