Search code examples
mavenredhawksdr

Building REDHAWK Explorer/IDE


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.

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?

Furthermore, which pom.xmls should I be building from?


Solution

  • Unfortunately, we haven't been able to host public p2 repositories. Those are placeholders for a future p2 repository.

    You might be able to get around this by building all the repo's and installing them into your local maven repository.

    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
    

    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
    

    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.