On 01/31/2013 11:14 AM, Igor Zapletnev
wrote:
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"
1) Tycho able to see jdt.core plug-in (and tries resolve it), but it
does not defined in the target platform;
Do you have a <repository> defined in one of your pom? Those
repositories are added to the target-platform definition, so you
should avoid using both repositories and target files at the same
time.
2) Tycho tries resolve optional dependency and failed. I want disable
resolving this optional dependency;
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tychoVersion}</version>
<configuration>
<dependency-resolution>
<optionalDependencies>ignore</optionalDependencies>
</dependency-resolution>
</configuration>
</plugin>