Error when building new binding

I’m developing new binding. Everything works - I can start OpenHAB in my Eclipse and use my binding. Problem that occurs is when I do mvn clean install -P check, because I get this error:

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:1.2.0:compile (default-compile) on project org.openhab.binding.jsupla: Execution default-compile of goal org.eclipse.tycho:tycho-compiler-plugin:1.2.0:compile failed: Plugin org.eclipse.tycho:tycho-compiler-plugin:1.2.0 or one of its dependencies could not be resolved: Failed to collect dependencies at org.eclipse.tycho:tycho-compiler-plugin:jar:1.2.0 → org.eclipse.tycho:tycho-compiler-jdt:jar:1.2.0 → org.eclipse.jdt:org.eclipse.jdt.core:jar:3.13.102 → org.eclipse.platform:org.eclipse.core.resources:jar:[3.12.0,4.0.0): No versions available for org.eclipse.platform:org.eclipse.core.resources:jar:[3.12.0,4.0.0) within specified range → [Help 1]

Any ideas why it happens? My manifest looks like this: https://github.com/magx2/openhab2-addons/blob/jSupla/addons/binding/org.openhab.binding.jsupla/META-INF/MANIFEST.MF

Update;

At the beginning of maven build, I’m getting this error:

[INFO] Scanning for projects…
Downloading: JFrog
Downloaded: JFrog (599 B at 0.7 KB/sec)
[WARNING] Could not transfer metadata org.openhab:pom-tycho:2.4.0-SNAPSHOT/maven-metadata.xml from/to p2-openhab-deps-repo (https://dl.bintray.com/openhab/p2/openhab-deps-repo/${ohdr.version}): Cannot access https://dl.bintray.com/openhab/p2/openhab-deps-repo/${ohdr.version} with type p2 using the available connector factories: BasicRepositoryConnectorFactory
Downloading: JFrog
Downloaded: JFrog (593 B at 1.9 KB/sec)
[WARNING] Could not transfer metadata org.openhab:pom:2.4.0-SNAPSHOT/maven-metadata.xml from/to p2-openhab-deps-repo (https://dl.bintray.com/openhab/p2/openhab-deps-repo/${ohdr.version}): Cannot access https://dl.bintray.com/openhab/p2/openhab-deps-repo/${ohdr.version} with type p2 using the available connector factories: BasicRepositoryConnectorFactory
[INFO] Computing target platform for MavenProject: org.openhab.binding:org.openhab.binding.jsupla:2.4.0-SNAPSHOT @ D:\Programowanie\IDEs\jSUpla-openhab2\git\openhab2-addons\addons\binding\org.openhab.binding.jsupla\pom.xml

Why is your bundle version 2.3.0?

Sorry I din’t pushed my last commit. I already changed it to 2.4.0.qulifier so this is not a problem.

(Long story short - first I created my binding from 2.3.0 tag, not from 2.4.0-SNAPSHOT)

Removing ~/.m2 folder worked

https://github.com/openhab/openhab2-addons/issues/4045