I made some changes to my binding. I deployed it locally, where I run openHAB 3.3.0, however the binding update is developed with 4.0.0 snapshot. If I upload the JAR File to Marketplace I get the following error if I install it via the Marketplace:
The marketplace bundle was successfully installed but doesn't start: Could not resolve module: org.openhab.binding.sonnen [255]
Unresolved requirement: Import-Package: com.google.gson; version="[2.9.0,3.0.0)"
How do I make it offically compatible to an older version?
Ok, I was able to compile it with the given options. I deployed the new JAR-File. When I install it, I dont see any more error in openhab log, however the Thing is not appearing in the menue.
As said using openHAB 3.3.0, do I need to adjust the parameters anyhow?
It probably does render your CI build results useless for newer versions.
All openHAB APIs could be removed in newer versions and it will still build successfully.
Oh it’s definitely not the “best option” but seeing as it does effectively the same thing as putting it on the CLI there’s no real difference. This just makes the CLI shorter. I opened up an issue here…
…to do something more permanent/stable/etc for the marketplace releases going forward.