I am trying to refactor the volumio2 thing written by Patrick Sernetz into an OH3 binding/thing.
However, after many hours of breaking my head around this I am asking for some help.
My starting point was the OH3 demo app (after installing eclipse /Java 11 with all instructions), from which I’ve added the classes/xml for the volumio2 thing. I’ve followed the developer guide on things, and most items overlap from OH2, yet slightly different (e.g. ESH → OH in imports).
Now, I keep running into a ‘dead end’ since I an error in the pom.xml on the 'execution tag of the bnd-proces / bnd-maven-plugin. Furthermore, I get errors all over the place regarding missing declarations (e.g. “org.openhab.core cannot be resolved” although the initial demo app had everything aligned correctly. I also played around with the build path and other dependencies without luck. A final error I get concerns the pom “default package . is not permitted by the Import-Syntax package” ( which I think has to do with the order of the build path).
Could anyone enlighten me? Thank you very much!
PS: my programming experience is good enough yet java is quite rusty… the complexity of these java projects don’t stick to my mind.