Potentially missing Maven repository declaration in OG-Parent POM


#1

Hi Folks

The OG-Parent POM has a comment as to the location of the OpenGamma repository, but it was necessary explicitly to declare that repository before other dependencies outside OG-Platform, e.g. Fudge etc., could be resolved. Perhaps other people declare such repositories in their Maven conf/settings.xml, but I would suggest that the comment in OG-Parent POM should extend to a full repo definition which could be un-commented at will.

I tried to add my repo declaration but Preview then indicated that XML was not allowed in these posts.

Cheers, Robin.


#2

We are following the advice from this blog - http://www.sonatype.com/people/2009/02/why-putting-repositories-in-your-poms-is-a-bad-idea/

While we understand that it may take a little longer to setup, it is more reliable if the repo is ever moved, and in line with the standard recommendations for maven.

The OpenGamma maven repo can be browsed here - http://maven.opengamma.com/nexus/content/groups/public/


#3

Thanks Stephen. I’m glad I said “potentially” missing repo…


#4

I think the repository should be in the parent pom.
Right now I can’t build using Maven because of this problem.