This project contains Maven repositories for release, snapshot and third-party artifacts of other projects, such as CMU Commons.
To start using artifacts hosted here within your own Maven project, add the
following <repository>
elements to an active profile defined in your Maven
settings.xml
file:
<repositories>
...
<repository>
<id>sagemintblue-releases</id>
<name>Sagemintblue Releases</name>
<url>https://github.com/sagemintblue/sagemintblue-repositories/raw/master/releases</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>false</enabled></snapshots>
</repository>
<repository>
<id>sagemintblue-thirdparty</id>
<name>Sagemintblue Thirdparty</name>
<url>https://github.com/sagemintblue/sagemintblue-repositories/raw/master/thirdparty</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>false</enabled></snapshots>
</repository>
</repositories>
If you'd like to take advantage of snapshot releases, one more <repository>
entry is required:
<repositories>
...
<repository>
<id>sagemintblue-snapshots</id>
<name>Sagemintblue Snapshots</name>
<url>https://github.com/sagemintblue/sagemintblue-repositories/raw/master/snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
If you use Sonatype's Nexus repository manager, you may want to add proxy entries to your Nexus configuration for the Sagemintblue repositories. Here are a few notes to keep in mind:
-
Sagemintblue repositories don't contain indices. You should set
Remote Repository Access > Download Remote Indexes
tofalse
. -
Because GitHub doesn't generate directory listings for
raw
repository directory URLs, Nexus will automatically block the proxied repositories ifRemote Repository Access > Auto blocking active
is set totrue
. Set this option tofalse
and clickRefresh
. You should see aRepository Status
ofAttempting to Proxy and Remote Unavailable
. Nexus should still be able to access specific artifact, pom and checksum file URLs despite the missing directory listings.