The projects are a bit brittle in Eclipse. It often shows an "The import org.codehaus cannot be resolved" error (e.g. after restarting Eclipse). When this happened, the following workarounds helped:
- delete all the projects (but not the files on the disk) and restart Eclipse,
- clean the "pomfirst-thirdparty" project.
Now my problem is that this approach does not seem to work for third party dependencies that are only available in the Maven Central Repository (e.g. com.typesafe.akka:akka-actor_2.10) and not available az OSGi bundles. The Tycho tutorial (
http://wiki.eclipse.org/Tycho/How_Tos/Dependency_on_pom-first_artifacts) mentions that "p2 metadata is generated for all maven dependencies. Currently this only works for OSGi bundles, all other dependencies are silently ignored." So I guess this solution will not work for any third party dependency.
My questions are the following:
- What is the status on the org.sonatype.tycho.m2e.wrapperBundle plugin?
- Is it possible to use the "pom-first, manifest-first" approach of the ITP02 project to use third party dependencies which are not OSGi bundles (like Akka) or should I use a private update site (p2-maven-plugin or Nexus update site) for that purpose?
Thanks,
Gabor