I’m trying currently to re-build an existing add-on for OH 2.5.x.
So I have downloaded the openhab-addons-2.5.x repository and tried to build the NUKI binding with the command mvn clean install executed in the according directory of the add-on.
When building the addon it seems maven cannot resolve some of the dependencies.
I.e. it seems that on https://openhab.jfrog.io/artifactory/libs-release the needed deps to the core are no longer available.
[ERROR] Failed to execute goal on project org.openhab.binding.nuki: Could not re solve dependencies for project org.openhab.addons.bundles:org.openhab.binding.nu ki:jar:2.5.13-SNAPSHOT: org.openhab.core.bom:org.openhab.core.bom.openhab-core:p om:2.5.0 was not found in https://openhab.jfrog.io/openhab/libs-release during a previous attempt. This failure was cached in the local repository and resolutio n is not reattempted until the update interval of openhab-release has elapsed or updates are forced -> [Help 1]
So I downloaded also the openhab-core-2.5.x repsoitory and tried to build it first to install the according dependencies into the maven repos, but also here the build process fails:
[ERROR] Failed to execute goal on project org.openhab.core.io.transport.dbus: Co uld not resolve dependencies for project org.openhab.core.bundles:org.openhab.co re.io.transport.dbus:jar:2.5.0: The following artifacts could not be resolved: d e.maggu2810.dbus:dbus:jar:2.7.0, de.maggu2810.libmatthew:unix:jar:0.5.0: de.magg u2810.dbus:dbus:jar:2.7.0 was not found in https://openhab.jfrog.io/openhab/libs -release during a previous attempt. This failure was cached in the local reposit ory and resolution is not reattempted until the update interval of openhab-relea se has elapsed or updates are forced -> [Help 1]
Can anyone help me on what is the easiest way to re-build an existing add-on for OH 2.5.x?
What I want to achieve is to rebuild the NUKI binding as the current implementation uses the unsecure token for authentication and I would like to change the implementation in a way to be able to also use hashed tokens, which is now also supported by the NUKI smart lock.
Thanks a lot in advance for your help