I’m getting an error while doing “mvn -o clean install” (same outcome without “-o”)
[INFO] Adding repository http://dist.springsource.org/release/GRECLIPSE/e4.4
[ERROR] Failed to resolve target definition /home/my_username/.m2/repository/org/openhab/targetplatform/2.0.0-SNAPSHOT/targetplatform-2.0.0-SNAPSHOT-openhab.target: Failed to load p2 metadata repository from location http://dist.springsource.org/release/GRECLIPSE/e4.4/: Repository system is offline and no local cache available for http://dist.springsource.org/release/GRECLIPSE/e4.4 -> [Help 1]
Any suggestions on how to work around?
Maven builds are also failing for OH1 as of a few hours ago.
Not the same message, but evidence of a big change in pulling from repositories, likely a related cause.
The OH2 build is broken…
I Have the following error:
[INFO] Adding repository http://www.openhab.org/jmdns/update-site/3.4.2 [WARNING] Failed to access p2 repository http://www.openhab.org/jmdns/update-site/3.4.2, use local cache. Neither http://www.openhab.org/jmdns/update-site/3.4.2/content.jar nor http://www.openhab.org/jmdns/update-site/3.4.2/content.xml found. [ERROR] Cannot resolve target definition: [ERROR] Software being installed: org.eclipse.smarthome.feature.runtime.rest.feature.group 0.8.0.201512292114 [ERROR] Missing requirement: org.eclipse.smarthome.io.rest.core 0.8.0.201512292114 requires 'package io.swagger.annotations 0.0.0' but it could not be found [ERROR] Cannot satisfy dependency: org.eclipse.smarthome.feature.runtime.rest.feature.group 0.8.0.201512292114 depends on: org.eclipse.smarthome.io.rest.core [0.8.0.201512292114] [ERROR] [ERROR] Failed to resolve target definition C:\openhab_dev\openhab2\targetplatform\openhab.target: 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] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException
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?