Error downloading mvn:com.github.hypfvieh/bluez-dbus-osgi/0.2.0

  • Platform information:
    • Hardware: Intel N100, 16 GB RAM
    • OS: Docker
    • Java Runtime Environment:
    • openHAB version: different versions tried
  • Issue of the topic: Error downloading mvn:com.github.hypfvieh/bluez-dbus-osgi/0.2.0
  • Please post configurations (if applicable):
    • Items configuration related to the issue
    • Sitemap configuration related to the issue
    • Rules code related to the issue
    • Services configuration related to the issue
  • If logs where generated please post these here using code fences:

I get serial times Error downloading mvn:com.github.hypfvieh/bluez-dbus-osgi/0.2.0 on starting container.
I tried stable, latest and an latest snapshot.

https://mvnrepository.com/artifact/com.github.hypfvieh/bluez-dbus-osgi/0.2.0
exists but i don‘t understand why download fails.

It tries to download it from the openHAB repo but apparently it is missing. Maybe @Kai can upload it?

The library was updated in:

I thought that dependency’s that are available on maven do not need to be available on openHAB repo.

Currently any bundle dependency defined in a feature.xml file needs to be manually uploaded to the openHAB Maven repo. There’s openhab-distro#1686 to improve this.

1 Like

I’m also getting this error on our snapshot builds

Error downloading mvn:com.fasterxml.jackson.datatype/jackson-datatype-jdk8/2.17.1

@kai can you add this as well ?

It is sufficient to modify org.ops4j.pax.url.mvn.cfg:

# This contains the openHAB and default repositories.
#
org.ops4j.pax.url.mvn.repositories= \
-	https://openhab.jfrog.io/openhab/libs-release@id=openhab
+	https://openhab.jfrog.io/openhab/libs-release@id=openhab, \
+	https://repo1.maven.org/maven2/@id=central

#
# Global policies override repository-specific settings (@checksum=..., @update=..., @releasesUpdate=..., ...)
1 Like

Done!

1 Like