Problem to create binding

Hi,
I’m trying to make an new binding.
I manage to make it work with:
-Dversion=2.0.0-SNAPSHOT \ in create_openhab_binding_skeleton.sh and
2.0.0-SNAPSHOT in pom.xml

But it won’t work as below,
I have downloaded and installed ESH Photon using Eclipse Installer, and choose the project openHAB, and
everything looks just like usual.

I don’t manage to make it work with:
-Dversion=2.2.0-SNAPSHOT \ in create_openhab_binding_skeleton.sh and
2.2.0-SNAPSHOT in pom.xml

When I run create_openhab_binding_skeleton.sh I get the response as follow:

Downloading: https://openhab.jfrog.io/openhab/libs-snapshot/org/openhab/pom-tycho/2.2.0-SNAPSHOT/maven-metadata.xml
Downloaded: https://openhab.jfrog.io/openhab/libs-snapshot/org/openhab/pom-tycho/2.2.0-SNAPSHOT/maven-metadata.xml (599 B at 0.4 KB/sec)

[WARNING] Could not transfer metadata org.openhab:pom-tycho:2.2.0-SNAPSHOT/maven-metadata.xml from/to p2-smarthome (https://openhab.jfrog.io/openhab/eclipse-smarthome-stable): Cannot access https://openhab.jfrog.io/openhab/eclipse-smarthome-stable with type p2 using the available connector factories: BasicRepositoryConnectorFactory
[WARNING] Could not transfer metadata org.openhab:pom-tycho:2.2.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: https://openhab.jfrog.io/openhab/libs-snapshot/org/openhab/pom/2.2.0-SNAPSHOT/maven-metadata.xml
Downloaded: https://openhab.jfrog.io/openhab/libs-snapshot/org/openhab/pom/2.2.0-SNAPSHOT/maven-metadata.xml (593 B at 1.9 KB/sec)

[WARNING] Could not transfer metadata org.openhab:pom:2.2.0-SNAPSHOT/maven-metadata.xml from/to p2-smarthome (https://openhab.jfrog.io/openhab/eclipse-smarthome-stable): Cannot access https://openhab.jfrog.io/openhab/eclipse-smarthome-stable with type p2 using the available connector factories: BasicRepositoryConnectorFactory
[WARNING] Could not transfer metadata org.openhab:pom:2.2.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

There are more responses but this seems to be the reason for the others.

Thankful for help,

Örjan