Building with maven fails - p2-smarthome repository not found

I recently bought a popp co sensor for which there is no entry in the zwave database.
I followed the instructions to set up an eclipse environment using the eclipse installer but ended up with thousands after a clean all … build cycle. I than resorted to maven to build the zwave jar:

mvn install
Warning: JAVA_HOME environment variable is not set.
[INFO] Scanning for projects...
[INFO] Computing target platform for MavenProject: org.openhab.binding:org.openhab.binding.zwave:1.10.0-SNAPSHOT @ /mnt/mfhome/andre/x/openhab1-addons/bundles/binding/org.openhab.binding.zwave/pom.xml
[INFO] Adding repository http://download.eclipse.org/smarthome/updates-stable
[ERROR] Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'p2-smarthome' from location http://download.eclipse.org/smarthome/updates-stable: No repository found at http://download.eclipse.org/smarthome/updates-stable. -> [Help 1]

I did this directly after a

git clone GitHub - openhab/openhab1-addons: Add-ons for openHAB 1.x

Is the download location in the pom file actually broken or am I doing something totally wrong?

Thanks a lot!

I have the same issue. This repository is not found in my Eclipse setup. By consequence the launch configuration does not work. I am not experienced at this at all, so I may be doing something wrong. However, I was able to compile and run my own binding before. I only did a check for updates and rebase and this issue appeared.

Thanks a lot! “mvn install” in “git/openhab-distro” works.
In all other git repos (openhab/openhab-core) it fails due to the “p2-smarthome” issue.

Seems like we have to have patience.

Thanks for the patience :slight_smile:
It should be back now, please try again!

@Kai Up and running again. Many thanks.

Thanks a lot! Downloads now seem to work. However, now I get compile errors. Need to look at this in more detail when I have time.
Ultimately I was able to build a 1.8.3 zwave.jar with support for the POP 004407 CO sensor. Milestone done :slight_smile: