Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Tycho and P2 Repository

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:

  • org.springframework.aop
  • org.springframework.beans
  • org.springframework.context
  • org.springframework.core
  • org.springframework._expression_
  • org.springframework.jdbc
  • org.springframework.transaction

So to build bundle A with Tycho I need to generate a p2 repository with the following steps:

  1. Create Eclipse Feature project that lists all the bundles.
  2. Create Eclipse Update Site project and add feature created on step 1.
  3. Turn all project into Maven modules & adjust the POM files.
  4. 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.

Regards,

SetNug




Back to the top