Let's say I have bundle A which depends on Spring, so during development in Eclipse I use target platform pointing to directories containing the following Spring bundles:
So to build bundle A with Tycho I need to generate a p2 repository with the following steps:
- Create Eclipse Feature project that lists all the bundles.
- Create Eclipse Update Site project and add feature created on step 1.
- Turn all project into Maven modules & adjust the POM files.
- Execute 'mvn clear verify' on update site project to generate p2 repository.
The step 4 above expectedly fails since Tycho is missing dependencies that should be satisfied via p2 repository we're about to generate.
This sounds like chicken egg problem or am I missing some extra steps here ?
Any advice would be greatly appreciated.