没有p2的第谷 [英] Tycho without p2
问题描述
是否可以在不使用p2的情况下使用Tycho来下载依赖项或将生成的工件发布到其中?
我已经拥有一个具有所有依赖项的Maven存储库,并且我不想拥有一个带有重复工件的p2存储库,只是为了编译这些osgi项目.我还想将生成的工件发布在相同的Maven存储库中,这样我就可以拥有一个真正的集中式存储库,而不是Maven存储库和p2存储库
所以基本上,我想从构建中删除对p2的需求.
我知道一个选择是使用POM-first工具代替tycho,但是问题是项目已经使用PDE开发,所以这似乎不是一个选择
可以告诉Tycho使用POM依赖项.据我所知,唯一的陷阱"是,如果您希望使用eclipse-repository打包类型来构建RCP应用程序,那么这些仍然需要保存在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
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.
这篇关于没有p2的第谷的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!