[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Tycho build breaks with tycho 0.15.0
|
check https://bugs.eclipse.org/bugs/show_bug.cgi?id=381526
-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Christian Soltenborn
Sent: Montag, 4. Juni 2012 14:03
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] Tycho build breaks with tycho 0.15.0
Hi,
it must be kind of annoying to get those "Hey, my build broke!" mails
after every tycho release :-)
Anyways, my build broke. Below's an excerpt of the log. The problem
seems to be:
org.osgi.framework.BundleException: Bundle de.upb.dmm.editor.parser
cannot be resolved
Resolution errors:
Bundle de.upb.dmm.editor.parser - Missing Constraint:
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Indeed, the .parser plug-in has
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
in its manifest, but so do quite a few other plug-ins of mine, the
target platform of some of which has been resolved successfully before
the .parser plug-in fails the build.
Any idea what's going on here?
Thanks in advance,
Christian
The log:
========
...
[INFO] Computing target platform for MavenProject:
de.upb.dmm:de.upb.dmm.editor.parser:0.1.0-SNAPSHOT @ C:\Program Files
(x86)\Jenkins\workspace\DMM-Tooling\de.upb.dmm.editor.parser\pom.xml
[INFO] Resolving dependencies of MavenProject:
de.upb.dmm:de.upb.dmm.editor.parser:0.1.0-SNAPSHOT @ C:\Program Files
(x86)\Jenkins\workspace\DMM-Tooling\de.upb.dmm.editor.parser\pom.xml
[INFO] Resolving class path of MavenProject:
de.upb.dmm:de.upb.dmm.editor.parser:0.1.0-SNAPSHOT @ C:\Program Files
(x86)\Jenkins\workspace\DMM-Tooling\de.upb.dmm.editor.parser\pom.xml
[ERROR] Internal error: java.lang.RuntimeException:
org.osgi.framework.BundleException: Bundle de.upb.dmm.editor.parser
cannot be resolved
[ERROR] Resolution errors:
[ERROR] Bundle de.upb.dmm.editor.parser - Missing Constraint:
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
[ERROR] -> [Help 1]
org.apache.maven.InternalErrorException: Internal error:
java.lang.RuntimeException: org.osgi.framework.BundleException: Bundle
de.upb.dmm.editor.parser cannot be resolved
Resolution errors:
Bundle de.upb.dmm.editor.parser - Missing Constraint:
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
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:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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:
org.osgi.framework.BundleException: Bundle de.upb.dmm.editor.parser
cannot be resolved
Resolution errors:
Bundle de.upb.dmm.editor.parser - Missing Constraint:
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
at
org.eclipse.tycho.core.osgitools.OsgiBundleProject.getResolverState(OsgiBundleProject.java:252)
at
org.eclipse.tycho.core.osgitools.OsgiBundleProject.resolveClassPath(OsgiBundleProject.java:158)
at
org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:111)
at
org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:64)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:273)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
... 11 more
Caused by: org.osgi.framework.BundleException: Bundle
de.upb.dmm.editor.parser cannot be resolved
Resolution errors:
Bundle de.upb.dmm.editor.parser - Missing Constraint:
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
at
org.eclipse.tycho.core.osgitools.EquinoxResolver.assertResolved(EquinoxResolver.java:291)
at
org.eclipse.tycho.core.osgitools.EquinoxResolver.newResolvedState(EquinoxResolver.java:71)
at
org.eclipse.tycho.core.osgitools.OsgiBundleProject.getResolverState(OsgiBundleProject.java:250)
... 16 more
--
A. Whitney Brown: "That is the saving grace of humor, if you fail no one
is laughing at you."
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user