Problem building efxclipse sample app with tycho and Java 8 [message #1257606] |
Wed, 26 February 2014 11:14  |
Eclipse User |
|
|
|
Hi,
I come into trouble when trying to build the e4 sample application with tycho (0.19.0) and java 8.
I setup a parent pom and a pom for the plugin, feature and product. The build is configured against the http://download.eclipse.org/efxclipse/runtime-released/0.9.0/site/ target platform
when launching an mvn install, I get the following error :
[INFO] Scanning for projects...
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[INFO] Computing target platform for MavenProject: dummy:demo.application:1.0.0-SNAPSHOT @ C:\Users\Guest\dev\workspace\
DemoApplication\pom.xml
[INFO] Adding repository http://download.eclipse.org/efxclipse/runtime-released/0.9.0/site
[INFO] Resolving dependencies of MavenProject: dummy:demo.application:1.0.0-SNAPSHOT @ C:\Users\Guest\dev\workspace\Demo
Application\pom.xml
[INFO] Cannot complete the request. Generating details.
[INFO] Cannot complete the request. Generating details.
[INFO] {osgi.os=win32, osgi.ws=win32, org.eclipse.update.install.features=true, osgi.arch=x86_64}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: config.a.jre 1.6.0
[ERROR] Missing requirement: config.a.jre 1.6.0 requires 'a.jre 1.6.0' but it could not be found
[ERROR]
[ERROR] Internal error: java.lang.RuntimeException: No solution found because the problem is unsatisfiable.: [Unable to
satisfy dependency from config.a.jre 1.6.0 to a.jre 1.6.0.; Unable to satisfy dependency from tycho-1393430580827 0.0.0.
1393430580827 to a.jre [1.6.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 probl
em is unsatisfiable.: [Unable to satisfy dependency from config.a.jre 1.6.0 to a.jre 1.6.0.; Unable to satisfy dependenc
y from tycho-1393430580827 0.0.0.1393430580827 to a.jre [1.6.0].; No solution found because the problem is unsatisfiable
.]
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:167)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.RuntimeException: No solution found because the problem is unsatisfiable.: [Unable to satisfy depen
dency from config.a.jre 1.6.0 to a.jre 1.6.0.; Unable to satisfy dependency from tycho-1393430580827 0.0.0.1393430580827
to a.jre [1.6.0].; No solution found because the problem is unsatisfiable.]
at org.eclipse.tycho.p2.resolver.AbstractResolutionStrategy.newResolutionException(AbstractResolutionStrategy.ja
va: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:134)
at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:87)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:369)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:345)
at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.
java:109)
at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.
java:75)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
... 11 more
The thing about jre 1.6.0 seems curious,
Any clue on what's happening ?
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05335 seconds