[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[tycho-user] Resolve Optional Dependencies
|
Hi all,
I am using Tycho/Target Platform in my projects.
Where I can specify flag should tycho resolve optional dependencies
for exists project or not?
I want to resolve next problem:
1) I am using org.eclipse.emf.mwe2.launch plug-in and it has optional
dependency to the org.eclipse.jdt.core
2) My target platform has next unit:
<location includeAllPlatforms="false" includeMode="slicer"
includeSource="false" type="InstallableUnit">
<unit id="org.eclipse.emf.mwe2.launch" version="2.3.0.v201206120758"/>
<repository location="http://my-eclipse-juno-mirror/"/>
Also where is no any references to the jdt in my target platform.
During build I am able to see next error "Failed to resolve target
definition tp.target: "No solution found because the problem is
unsatisfiable.": ["Unable to satisfy dependency from
org.eclipse.jdt.core 3.8.1.v_OTDT_r210_201206090452 to
org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).",
"Unable to satisfy dependency from org.eclipse.jdt.core
3.8.2.v_OTDT_r211_201209011847 to
org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).",
"No solution found because the problem is unsatisfiable."] -> [Help 1]
org.apache.maven.InternalErrorException: Internal error:
java.lang.RuntimeException: Failed to resolve target definition"
So looks like here 2 issues:
1) Tycho able to see jdt.core plug-in (and tries resolve it), but it
does not defined in the target platform;
2) Tycho tries resolve optional dependency and failed. I want disable
resolving this optional dependency;
Thanks,
Igor