Build error OpenGamma on Mageia/Fedora Linux


#1

Hi,

I’m trying to package OpenGamma for Mageia Linux, and I’ve run into the following error when running Maven.

Once I get this fixed, I’m going to try to generate RPM’s so that OpenGamma is going to be user installable via RPM in Mageia 4.

Error follows…

[joe@big-apple OG-Platform] mvn [INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project com.opengamma.platform:og-platform:2.1.0 (/home/joe/git/OG-Platform/pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not transfer artifact com.opengamma:corporate-parent:pom:1.1.4 from/to og-public (http://maven.opengamma.com/nexus/content/groups/public): No connector factories available and 'parent.relativePath' points at no local POM @ line 8, column 11 -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException [joe@big-apple OG-Platform]


#2

I’m not quite sure what to suggest here. It looks like maven has correctly found the http://maven.opengamma.com/nexus/content/groups/public location where the corporate-parent is. Perhaps you have a local firewall or local Nexus/Artifactory that is blocking access to our repository? The message “could not transfer artifact” is more suggestive of transfer issues rather than finding issues. Using maven’s -X switch may help identify a problem although it does produce lots of logs.


#3

Hi,

It turns out that there was a packaging error in Mageia that has been fixed.

I’m getting some errors in the analytics tests, but I’ll trace them down,