Building action fails

Hello, I can’t build telegram action, it fails on dependencies

root@kali:~/Git/openhab1-addons/bundles/action/org.openhab.action.telegram# mvn package
[INFO] Scanning for projects…
[INFO] Computing target platform for MavenProject: org.openhab.action:org.openhab.action.telegram:1.12.0-SNAPSHOT @ /root/Git/openhab1-addons/bundles/action/org.openhab.action.telegram/pom.xml
[INFO] Fetching p2.index from (172B)
[INFO] Fetching p2.index from (172B)
[INFO] Adding repository
[INFO] Adding repository
[INFO] Adding repository
[INFO] Resolving dependencies of MavenProject: org.openhab.action:org.openhab.action.telegram:1.12.0-SNAPSHOT @ /root/Git/openhab1-addons/bundles/action/org.openhab.action.telegram/pom.xml
[INFO] {osgi.os=linux,, org.eclipse.update.install.features=true, osgi.arch=x86}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: org.openhab.action.telegram 1.12.0.qualifier
[ERROR] Missing requirement: org.eclipse.smarthome.core requires ‘package javax.measure 0.0.0’ but it could not be found
[ERROR] Cannot satisfy dependency: org.eclipse.smarthome.config.core depends on: package org.eclipse.smarthome.core.common 0.0.0
[ERROR] Cannot satisfy dependency: org.openhab.action.telegram 1.12.0.qualifier depends on: package org.openhab.core.items 0.0.0
[ERROR] Cannot satisfy dependency: org.openhab.core.compat1x 2.0.0 depends on: package org.eclipse.smarthome.config.core 0.0.0
[ERROR] See for help.
[ERROR] Cannot resolve dependencies of MavenProject: org.openhab.action:org.openhab.action.telegram:1.12.0-SNAPSHOT @ /root/Git/openhab1-addons/bundles/action/org.openhab.action.telegram/pom.xml: See log for details -> [Help 1]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]

How to fix that?

What system and what versions? I looks like openHAB stable (2.2.0) and Telegram 1.12.0-SNAPSHOT. How du you install the Binding?

System latest Kali Linux, also tried on clean Debian 9.4 x64. I know how to install action/binding, I need to build an action from source. Earlier the building passed without problems, but now there were errors.

Try doing a mvn clean install from the project root.

1 Like

I also encountered the same problem, this solution does not work