Hello,
I’m getting this error message, when I try to resolve my dependencies:
Resolution failed. Capabilities satisfying the following requirements could not be found:
[<>]
⇒ osgi.identity: (osgi.identity=org.openhab.binding.mynewbinding)
⇒ [org.openhab.binding.mynewbinding version=3.1.0.202101182120]
⇒ osgi.wiring.package: (osgi.wiring.package=com.sun.jndi.dns)
So I have added a dependency in my POM.xml for the “missing” artifact (which didn’t solve the issue):
<dependency> <groupId>com.sun.jndi</groupId> <artifactId>dns</artifactId> <version>1.2</version> <type>pom</type> </dependency>
So I can imagine the problem has to come from the type being “pom”. The mentioned artifact looks like this:
<project> <modelVersion>4.0.0</modelVersion> <groupId>com.sun.jndi</groupId> <artifactId>dns</artifactId> <version>1.2</version> <packaging>pom</packaging> <url>http://java.sun.com/products/jndi</url> <licenses> <license> <name>Sun Microsystems, Inc. Binary Code License Agreement</name> </license> </licenses> <distributionManagement> <downloadUrl>http://java.sun.com/products/jndi/serviceproviders.html#12</downloadUrl> </distributionManagement> </project>
Why is this not working? Could it possibly be caused by the downloadURL which seems not to be working? (accessing it from my webbrowser I can’t download anything)