I installed Java SE 11, set Win10
@JAVA_HOME@ to JDK 11, checked mvn runs on Java 11, installed Eclipse 2020-09 selecting Java 11 and just Development, waited Eclipse finish install, then cloned my fork of openhab-addons, set remote upstream+fetched it and then moved to
openwebnet bindings to demo.app pom.xml, added
openwebnet bundles to app.bndrun. Then when I click resolve I get this error:
Resolution failed. Capabilities satisfying the following requirements could not be found:
⇒ osgi.identity: (osgi.identity=openwebnet4j)
⇒ [openwebnet4j version=0.3.0]
⇒ osgi.wiring.package: (&(osgi.wiring.package=gnu.io)(&(version>=3.15.0)(!(version>=4.0.0))))
⇒ osgi.wiring.package: (&(osgi.wiring.package=com.sun.activation.registries))
It looks like
openwebnet4j (required by
openwebnet) it looks for
gnu.io, but it cannot be resolved by bnd.
EDIT: I also wrongly added openwebnet4j bundle to app.bndrun. If remove it, then resolve completes correctly requiring nrjavaserial 5.2.1 which provides gnu.io.