I built the feed binding for OH 2.5.1. The maven build went through without any errors. Afterwards I put the bundle into my OH 2.4 runtime environment. After trying to activate the binding in my karaf console I got this error message:
openhab> bundle:start 234
Error executing command: Error executing command on bundles:
Error starting bundle 234: Could not resolve module: org.openhab.binding.feed [234]
Unresolved requirement: Import-Package: com.rometools.rome.feed.synd; version=“[1.12.0,2.0.0)”
My next try was to start the OH 2.5.1 runtime and put the jar into the addons folder. Anyway, I wanted to view all my bundles and the ‘new’ feed bundle was not detected.
This might be better posted to the Development category. The error is showing that there is an unresolved dependency and it looks like it is a jar file specific to your binding. In my mind, that means something went wrong with the build or is otherwise not correct in the pom or the link. The developers who can help with that are probably more like to see this and help over there. I think you can move it yourself. If not let me know and I’ll move it if you agree.
can anyone try to build and add an existing addon to his runtime environment and tell me which one works for him - so I can use the same addon. This would increase my speed for development. Thanks in advance. In the meantime I’ll try others.
I am having the same issue. Just trying to test a small patch to lgwebos binding but cannot install the dependencies manually and get it to work using the 2.5.0.M1 docker image.
These bundles are probably not available in the 2.5M1 repo. They are if you switch to SNAPSHOT. Another solution is to take the bundle name, search it in Maven Central, copy the link to the jar including http:// (make sure you pick the correct version) and then use bundle:install <insert-link-here>.