Consumers

The following list details some high level information for accessing the Central Repository with a variety of tools. Feel free to let us know of any further additions for the list.

HTTP

In general, access to the Central Repository is available via plain HTTP. Access via HTTPS is available as part of Nexus Professional and can be obtained separately as well.

For local performance improvements in your network and further improvements, we recommend installation of a repository manager like Sonatype Nexus.

The Central Repository uses the Maven repository format and publishes release components only.

Apache Maven

Apache Maven accesses all components from the Central Repository by default. No further configuration is required.

Apache Ivy

Apache Ivy has a built-in resolver for the Central Repository that can be configured in ivysettings.xml .

<ivysettings>
    <settings defaultResolver="chain"/>
    <resolvers>
        <chain name="chain">
            <ibiblio name="central" m2compatible="true"/>
        </chain>
    </resolvers>
</ivysettings>

Gradle

Gradle has a built-in configuration to access the Central Repository as documented in the dependency tutorial.

repositories {
    mavenCentral()
}

SBT

The default SBT configuration includes resolving components from the Central Repository as documented in the library management documentation.

Leiningen

The default Leiningen configuration includes resolving components from the Central Repository.