Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Cannot resolve project dependencies

Am 27.10.2013 08:22, schrieb Dirk Fauth:
> Never use the Eclipse installation as part of your target platform. If
> you need the whole Eclipse repository, use the repository. :-)


Hi Dirk,
after removing the dependency to eclipse.home (and substituting it
through others) the error remains. Other ideas?

Ralf.


> 
> Am 26.10.2013 23:41 schrieb "Ralf Heydenreich" <rheydenr@xxxxxxxxxxx
> <mailto:rheydenr@xxxxxxxxxxx>>:
> 
>     Hi all,
>     I'm trying to build an RCP product with tycho (with m2e plugin from
>     Eclipse Kepler). But I get the following exception:
> 
>     [ERROR] Cannot resolve project dependencies:
>     [ERROR]   Software being installed: MyProduct 2.0.0.qualifier
>     [ERROR]   Only one of the following can be installed at once:
>     [org.eclipse.equinox.ds 1.4.101.v20130813-1853, org.eclipse.equinox.ds
>     1.4.100.v20130515-2026]
>     [ERROR]   Cannot satisfy dependency: MyProduct 2.0.0.qualifier depends
>     on: org.eclipse.core.runtime.feature.feature.group
>     [1.1.0.v20130529-1710]
>     [ERROR]   Cannot satisfy dependency: MyProduct 2.0.0.qualifier depends
>     on: org.eclipse.e4.rcp.feature.group [1.2.1.v20130910-2014]
>     [ERROR]   Cannot satisfy dependency:
>     org.eclipse.core.runtime.feature.feature.group 1.1.0.v20130529-1710
>     depends on: org.eclipse.equinox.core.feature.feature.group
>     [1.1.0.v20130529-1710]
>     [ERROR]   Cannot satisfy dependency: org.eclipse.e4.rcp.feature.group
>     1.2.1.v20130910-2014 depends on: org.eclipse.equinox.ds
>     [1.4.101.v20130813-1853]
>     [ERROR]   Cannot satisfy dependency:
>     org.eclipse.equinox.core.feature.feature.group 1.1.0.v20130529-1710
>     depends on: org.eclipse.equinox.ds [1.4.100.v20130515-2026]
>     [ERROR]
>     [ERROR] Internal error: java.lang.RuntimeException: "No solution found
>     because the problem is unsatisfiable.": ["Unable to satisfy dependency
>     from org.eclipse.jdt.core 3.9.0.v_OTDT_r220_201306071800 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.9.1.v_OTDT_r221_201309101918 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: "No solution found because the problem is
>     unsatisfiable.": ["Unable to satisfy dependency from
>     org.eclipse.jdt.core 3.9.0.v_OTDT_r220_201306071800 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.9.1.v_OTDT_r221_201309101918 to
>     org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).",
>     "No solution found because the problem is unsatisfiable."]
>             at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
>             at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>             at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>             at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>             at
>     sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>             at
>     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>             at java.lang.reflect.Method.invoke(Method.java:601)
>             at
>     org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>             at
>     org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>             at
>     org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>             at
>     org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>     Caused by: java.lang.RuntimeException: "No solution found because the
>     problem is unsatisfiable.": ["Unable to satisfy dependency from
>     org.eclipse.jdt.core 3.9.0.v_OTDT_r220_201306071800 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.9.1.v_OTDT_r221_201309101918 to
>     org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).",
>     "No solution found because the problem is unsatisfiable."]
>             at
>     org.eclipse.tycho.p2.resolver.AbstractResolutionStrategy.newResolutionException(AbstractResolutionStrategy.java:98)
>             at
>     org.eclipse.tycho.p2.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:88)
>             at
>     org.eclipse.tycho.p2.resolver.AbstractResolutionStrategy.resolve(AbstractResolutionStrategy.java:63)
>             at
>     org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:126)
>             at
>     org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:81)
>             at
>     org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:374)
>             at
>     org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:350)
>             at
>     org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:109)
>             at
>     org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:82)
>             at
>     org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
>             at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>             ... 11 more
> 
> 
>     My target definition contains some update sites and the ${eclipse_home}
>     installation.
> 
>     I don't have an idea what's wrong. If I launch the application in
>     Eclipse it works . I'd be glad if anyone could help me.
> 
>     Thanks in advance,
>     Ralf Heydenreich
>     _______________________________________________



Back to the top