Hosted by Three Crickets

Three Crickets
Software Repository

Three Crickets logo: ink drawing of cricket

Maven Section

The repository's base URL is http://repository.threecrickets.com/maven/.

It is hosted as a web site, served via HTTP, so you can use your usual web tools to download any library. You are more likely, however, to use an automatic tool, such as Sincerity, Maven, Ivy, Grape, Gradle and Buildr.

If you're using Sincerity, this is how you would attach the repository directly to your container:

sincerity attach public three-crickets maven http://repository.threecrickets.com/maven/

Use a Proxy

We recommend that, if possible, you access this and other public repositories via your own Maven proxy. Using a proxy will offer you several advantages. It's:

  1. Faster: after the first time you will be downloading packages locally, instead of over the Internet.
  2. More reliable: you will not suffer if the Three Crickets Repository is down or broken. If you rely on the Three Crickets Repository for a production system, then running a proxy should be considered a necessity!
  3. More independent: you can patch or upgrade any package without having to wait for Three Crickets to fix it.
  4. Better integrated: you can publish your own packages on your own hosted private repository.

Installing a Proxy

It's easy to install a pre-configured proxy based on the Nexus repository manager using Sincerity.

With Sincerity, you can install Nexus into a directory named "nexus" and start it as a background service with a single command:

sincerity create nexus : add nexus : add service : install : service jetty start

Give it a minute or two: Nexus has a lot of dependencies (most of them very small). See the section about the Nexus skeleton in the Sincerity Manual for more information on configuring your Nexus repository manager according to your needs.

The proxied base URL is http://localhost:8080/content/repositories/three-crickets/. (You'll want to change "localhost" in the URL to the correct server address if you are accessing the proxied repository on a different machine.)

You may instead prefer download Nexus directly from Sonatype following the installation instructions there. Popular alternatives to Nexus are: JFrog's Artifactory and Apache Archiva.

Using a Proxy with Sincerity

You can attach the proxied repository to a Sincerity container and detach the actual repository in a single command:

sincerity
	attach
		public
		three-crickets-proxy
		maven
		http://localhost:8080/content/repositories/three-crickets/ :
	detach
		public
		three-crickets

Proxied URLs for other standard repositories can be used similarly:

sincerity
	attach
		public
		maven-central-proxy
		maven
		http://localhost:8080/content/repositories/central/ :
	detach
		public
		maven-central

sincerity
	attach
		public
		clojars-proxy
		maven
		http://localhost:8080/content/repositories/clojars/ :
	detach
		public
		clojars