Cannot resolve project dependencies: org.eclipse.xtend.lib.macro [message #1714039] |
Mon, 09 November 2015 14:02 |
Harrison Ssamanya Messages: 12 Registered: November 2015 |
Junior Member |
|
|
Hello ESH friends,
For some days now I have been trying to install ESH. But no matter which method I use, I can't seem to get around the problem below.
tools:
- win 10 x64bit, jdk 8 x86
- maven 3.3.3
- eclipse mars x86 bit
1) using Git, I cloned the ESH to my pc.
2) I create a workspace folder and with eclipse Mars and I create my project in there.
3) I execute "mvn clean install" to get down the dependencies to my ".m2" directory. and here an error happens.
[INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: org.eclipse.smarthome.core.transform 0.8.0.qualifier
[ERROR] Missing requirement: org.eclipse.smarthome.model.item 0.8.0.qualifier requires 'bundle org.eclipse.xtend.lib.macro 0.0.0' but it could not be found
[ERROR] Cannot satisfy dependency: org.eclipse.smarthome.core.transform 0.8.0.qualifier depends on: package org.eclipse.smarthome.model.script.engine.action 0.0.0
[ERROR] Cannot satisfy dependency: org.eclipse.smarthome.model.script 0.8.0.qualifier depends on: bundle org.eclipse.smarthome.model.item 0.0.0
My analysis:
maven tries to pull down "org.eclipse.xtend.xxxx" bundles into folder: "..\.m2\repository\org\eclipse\xtend\" for the smarthome project.
e.g: org.eclipse.xtend.core, org.eclipse.xtend.lib, xtend-maven-plugin version 2.6.0
However, the smarthome project also requires a bundle: "org.eclipse.xtend.lib.macro".
As manually observed on the Maven repository site, this bundle exists only in versions higher than 2.6.0. (e.g: 2.7.x) and I think thats why
maven throws the error above, since it tries to get org.eclipse.xtend.lib.macro - version 2.6.0 (or 0.0.0) which does not exist.
Goal:
I would love to influence maven to get down for example version 2.7.3 of all these bundles, but I dont know how to do this.
or any other solution would be welcomed. Thanks
|
|
|
|
Re: Cannot resolve project dependencies: org.eclipse.xtend.lib.macro [message #1714106 is a reply to message #1714052] |
Mon, 09 November 2015 22:49 |
Harrison Ssamanya Messages: 12 Registered: November 2015 |
Junior Member |
|
|
Hello Kai,
thanx for the quick reply.
As in the manifest of "org.eclipse.smarthome.model.item", this bundle " org.eclipse.xtend.lib.macro"
has been specified as one of the bundles required for the operation of ""..smarthome.model.item"
The other affected bundles includes: "org.eclipse.smarthome.model.item.ui"
Below is a snapshot of the manifest in text and image.
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Eclipse SmartHome Item Model
Bundle-Vendor: openHABorg
Bundle-Version: 0.8.0.qualifier
Bundle-SymbolicName: org.eclipse.smarthome.model.item;singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: org.eclipse.xtext,
org.eclipse.xtext.generator;resolution:=optional,
org.apache.commons.logging;resolution:=optional,
org.eclipse.emf.codegen.ecore;resolution:=optional,
org.eclipse.emf.mwe.utils;resolution:=optional,
org.eclipse.emf.mwe2.launch;resolution:=optional,
com.ibm.icu;resolution:=optional,
org.eclipse.xtext.util,
org.eclipse.emf.ecore;visibility:=reexport,
org.eclipse.emf.common,
org.antlr.runtime,
org.eclipse.xtext.common.types,
org.eclipse.smarthome.model.lazygen;resolution:=optional,
com.google.guava,
org.eclipse.xtext.xbase.lib,
org.eclipse.xtend.lib,
org.eclipse.xtend.lib.macro
Thanks again.
[Updated on: Mon, 09 November 2015 22:52] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03510 seconds