Saturday, May 15, 2010

Building Nexus behind Nexus

While building Nexus I got a failure because org.sonatype.spice.inject:guice-plexus:pom:1.1.0-SNAPSHOT was missing.

Like any sane Maven user, I use a local repository manager (Nexus) and I knew I had the Sonatype Forge Repo proxied in my local Nexus install so ... strange I thought.

However searching for the artifact at http://repository.sonatype.org revealed it's direct path was under http://repository.sonatype.org/service/local/repositories/snapshots/content.

After adding a proxy to that repo, I was able to build Nexus no problem. Folks on IRC confirmed this is the way to go when building behind Nexus.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.