Generating p2 repository with Tycho
Let's say I have bundle A which depends on Spring, so during development I use target platform pointing to directories containing the following Spring bundles:
So to build bundle A w/ Tycho I need to generate a p2 repository with the following steps:
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.
Any help would be greatly appreciated.
Thanks & Regards, Setya
We are using p2-maven-plugin and it works well. You will find also some good documentation about how to use it. But it isn't maintained anymore and has some flaws and bugs. But maybe they do not bother you. And may be you even have some time to provide some pull requests.
Can you show us your output? Does tycho fail because it does not find something in your bundle? Or because it cannot find spring modules?
Tycho does not look in maven repositories to resolve dependencies. You may need to add a repository in the tag.
链接地址: http://www.djcxy.com/p/52318.html上一篇: 硒能力
下一篇: 使用Tycho生成p2存储库