Maven failing to download groovy package during build

I’m getting an error while doing “mvn -o clean install” (same outcome without “-o”)

[INFO] Adding repository
[ERROR] Failed to resolve target definition /home/my_username/.m2/repository/org/openhab/targetplatform/2.0.0-SNAPSHOT/ Failed to load p2 metadata repository from location Repository system is offline and no local cache available for -> [Help 1]

Any suggestions on how to work around?

Maven builds are also failing for OH1 as of a few hours ago.

Same message?

Not the same message, but evidence of a big change in pulling from repositories, likely a related cause.


The OH2 build is broken… :frowning:
I Have the following error:
[INFO] Adding repository [WARNING] Failed to access p2 repository, use local cache. Neither nor found. [ERROR] Cannot resolve target definition: [ERROR] Software being installed: [ERROR] Missing requirement: requires 'package io.swagger.annotations 0.0.0' but it could not be found [ERROR] Cannot satisfy dependency: depends on: [] [ERROR] [ERROR] Failed to resolve target definition C:\openhab_dev\openhab2\targetplatform\ See log for details -> [Help 1] [ERROR] [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] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1]

I wish I knew what these errors mean… Ran with “-e” and “-X” but to no avail. Is it that the link is dead? Doesn’t seem to be. Is it that it is not finding what it is expecting? If so what?

Googling led to some talk about Maven vs Tycho vs p2, but that is way over my head.

So, suddenly, I’m building again… what changed?