Get Nexus
Configure Proxy repositories
Add PROXY repositories for:
- fcrepo-snapshots (http://maven.fcrepo.org/nexus/content/repositories/snapshots/)
- fcrepo-thirdparty (http://maven.fcrepo.org/nexus/content/repositories/thirdparty/)
- jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public/)
Add these to the Public Repositories group.
Settings on Mirror Consumers
<?xml version="1.0" encoding="UTF-8"?> <!-- User-specific configuration for maven. Includes things that should not be distributed with the pom.xml file, such as developer identity, along with local settings, like proxy information. The default location for the settings file is ~/.m2/settings.xml --> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <mirrors> <mirror> <id>fcrepo4or</id> <mirrorOf>central,jboss-public-repository-group,maven2-repository.dev.java.net,fcrepo-snapshot,fcrepo-thirdparty</mirrorOf> <url>http://or.fcrepo.org/nexus/content/groups/public/</url> </mirror> </mirrors> </settings>
Populating the mirror
The first time you request an artifact from the mirror, it will fetch it from upstream.