Search code examples
maventycho

Tycho without p2


Is it possible to use Tycho without using p2 to download dependencies or publish the resulting artifacts in?

I already have a Maven repository with all the dependencies and I don't want to have a p2 repository with duplicate artifacts just to compile these osgi projects. I also want to publish the resulting artifacts in that same maven repository so that i can have a real centralized repository instead of a maven repository and a p2 repository

So basically, i want to remove the need for p2 from my build.

I know one option would be to use POM-first tools instead of tycho, but the problem is the projects were already developed using PDE so this doesn't seem like an option


Solution

  • It is possible to tell Tycho to use POM dependencies. The only "gotcha" as far as I am aware of, is that these still need to be in a p2 repository should you wish to build an RCP application using the eclipse-repository packaging type.