Tycho 0.10.0 works fine, with 0.11.0 and 0.12.0-SNAPSHOP I get
[ERROR] Internal error: java.lang.ClassCastException:
org.codehaus.tycho.osgitools.project.EclipsePluginProjectImpl cannot be cast to org.codehaus.tycho.osgitools.project.EclipsePluginProjectImpl -> [Help 1]
org.apache.maven.InternalErrorException: Internal error:
java.lang.ClassCastException:
org.codehaus.tycho.osgitools.project.EclipsePluginProjectImpl cannot be cast to org.codehaus.tycho.osgitools.project.EclipsePluginProjectImpl
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534)
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)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: java.lang.ClassCastException:
org.codehaus.tycho.osgitools.project.EclipsePluginProjectImpl cannot be cast to org.codehaus.tycho.osgitools.project.EclipsePluginProjectImpl
org.codehaus.tycho.osgitools.OsgiBundleProject.getEclipsePluginProject(OsgiBundleProject.java:204)
org.codehaus.tycho.osgitools.OsgiBundleProject.getProjectClasspath(OsgiBundleProject.java:236)
org.codehaus.tycho.osgitools.OsgiBundleProject.resolve(OsgiBundleProject.java:155)
org.codehaus.tycho.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:80)
org.codehaus.tycho.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:94)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:273)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
and then setting the Tycho version in project com.siemens.ct.mp3m.tycho.parent either to 0.11.0 or 0.12.0-SNAPSHOT.
This error appears if also if I start with an empty mvn repo…, so deleting .cache and .meta does not help.
System Architecture & Platforms
Siemens Aktiengesellschaft: Chairman of the Supervisory Board: Gerhard Cromme; Managing Board: Peter Loescher, Chairman, President and Chief Executive Officer; Roland Busch, Brigitte Ederer, Klaus Helmrich, Joe Kaeser, Barbara Kux, Hermann Requardt, Siegfried Russwurm, Peter Y. Solmssen, Michael Suess; Registered offices: Berlin and Munich, Germany; Commercial registries: Berlin Charlottenburg, HRB 12300, Munich, HRB 6684; WEEE-Reg.-No. DE 23691322
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user