I created a Tycho project with an eclipse-plugin
packaging. The project includes some dependencies that are specified via pom.xml. The relevant pom sections are
You can circumvent this problem splitting your project build into two parts:
eclipse-feature
and an eclipse-repository
module for this, plus a separate parent POM that lists the POM dependencies and configures pomDependencies=consider
.jar:file:
URL pointing to the build result in your local Maven repository.Then, you can also configure your target platform in Eclipse to include the p2 repository from the first build (which depends on how you currently configure it). You'll get the best consistency between Tycho and Eclipse if you use a so-called target definition file, which you can use both as target platform in Eclipse and in Tycho.
I am aware that all this is quite a bit of effort to set up, but AFAIK there are no better solutions that fully work.