Skip to main content

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

Can you give details about the failure. I would say the error comes from the Spring dependencies.


On Thu, May 5, 2016 at 6:18 PM, Setya Djajadinata <jsetya@xxxxxxxxx> wrote:

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.



tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

Back to the top