构建REDHAWK Explorer/IDE [英] Building REDHAWK Explorer/IDE
问题描述
我目前正在尝试使用github上的源代码构建REDHAWK Explorer扩展;但是,当我尝试在事物上运行Maven脚本时,我收到了一个缺少的存储库错误:
I'm currently trying to build REDHAWK Explorer extensions with the source on github; however, when I try to run the Maven scripts on things, I get a missing repository error:
Caused by: org.eclipse.equinox.p2.core.ProvisionException: No repository found at http://download.redhawksdr.org/nxm-rcp/releases/1.0.
我看到它是在redhawksdr.org上托管的存储库;这应该是正确的,不是吗?我知道nxm指向 http://nextmidas.techma.com/;这是Redhawk团队开发的内部插件吗?正是如此,它也在仓库中吗?
I see it is a repository hosted on redhawksdr.org; is this something that should be up and isn't? I know nxm point to a http://nextmidas.techma.com/; is this an internal plugin that was developed by the Redhawk team, and, as such, is it in the repo as well?
此外,我应该从哪个pom.xmls构建?
Furthermore, which pom.xmls should I be building from?
推荐答案
很遗憾,我们无法托管公共p2存储库.这些是将来的p2存储库的占位符.
Unfortunately, we haven't been able to host public p2 repositories. Those are placeholders for a future p2 repository.
您可以通过构建所有存储库并将它们安装到本地Maven存储库中来解决此问题.
You might be able to get around this by building all the repo's and installing them into your local maven repository.
要克隆每个Maven存储库,请执行以下操作:
To do this clone each of the maven repositories:
mil.jpeojtrs.sca
gov.redhawk.core
gov.redhawk.ide
gov.redhawk.codegen
gove.redhawk.ide.product
在每个存储库中,如您所见,您将找到一个releng文件夹.
In each repository, as you've seen, you will find a releng folder.
按以下顺序使用以下命令进行构建:
Build by using the following command in this order:
mvn clean install
mil.jpeojtrs.sca/releng
gov.redhawk.core/releng/core
gov.redhawk.core/releng/rcp
gov.redhawk.ide/releng
gov.redhawk.codegen/releng
gov.redhawk.ide.product/releng
希望,将来我们将获得公共的p2存储库,您将不再需要执行这些额外的步骤.带来不便敬请谅解.
Hopefully, in the future we will get public p2 repository and you will not longer have to do these extra steps. Sorry for the inconvenience.
这篇关于构建REDHAWK Explorer/IDE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!