No repository found at

Since today I’m getting the following error when trying to compile the smarthome project:

[ERROR] Failed to resolve target definition /Users/mad/Documents/openhab_workspace/openhab2/TheNetStriker/openhab2-master/git/smarthome/targetplatform/ Failed to load p2 metadata repository from location Unable to read repository at No repository found at -> [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]

It seams as one or the repositories is no longer online. How can I fix this problem?

It appears smarthome hasn’t had any commits within the timeframe under discussion, so this is likely just a transient network error. AFAIK, the only thing you can do in these cases is wait.

I’m getting a slightly different error:

[INFO] Adding repository
[ERROR] Failed to resolve target definition \openhab2-master2\git\smarthome\targetplatform\ Could not find “” in the repositories of the current location -> [Help 1]

I fixed the problem by changing the targetplatform/ file like this:

<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="" version="2.9.2.xx-201801041714-e47-RELEASE"/>
<repository location=""/>

The problem has been fixed.