Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It takes up to 24 hours for a new release to be sync'd from the Sonatype repository to Maven Central. If you want to get a new release sooner, use the same instructions as for snapshot repositories, below.

How to configure snapshot repositories in

...

Leiningen

In a

...

Leiningen project

...

.

...

clj file:

<repositories>
Code Block
langnone
   <repository>     <id>sonatype:repositories {"sonatype-oss-public</id>
    <url>httpspublic" "https://oss.sonatype.org/content/groups/public/</url>
    <releases>
      <enabled>true</enabled>
    </releases>
    <snapshots>
      <enabled>true</enabled>
    </snapshots>
  </repository>
</repositories>"}

How to configure snapshot repositories in

...

Gradle

In a

...

Gradle build.gradle file:

Code Block
langnone
repositories {
  mavenRepo urls:repositories {"sonatype-oss-public" "https://oss.sonatype.org/content/groups/public/"
}

How to configure snapshot repositories in

...

Maven

In a Gradle build.gradle fileMaven project's pom.xml file:

Code Block
langnone
repositories<repositories>
{  <repository>
mavenRepo urls: "https   <id>sonatype-oss-public</id>
    <url>https://oss.sonatype.org/content/groups/public/"</url>
}
    <releases>
      <enabled>true</enabled>
    </releases>
    <snapshots>
      <enabled>true</enabled>
    </snapshots>
  </repository>
</repositories>

How to configure snapshot repositories globally in Maven

This only works if you are building your projects with Maven itself, not with Maven-based tools such as Leiningen.

...

For Clojure the language and clojure-contrib versions 1.0.0, 1.1.0, and 1.2.0, releases and snapshots were uploaded to a public repository at http://build.clojure.org/releases and http://build.clojure.org/snapshots respectively. These repositories are no longer active.

Clojure releases 1.0.0, 1.1.0, 1.2.0, and 1.2.1 were also manually uploaded to the Maven Central Repository.

Clojure-contrib release releases 1.0.0, 1.1.0, and 1.2.0 was were manually uploaded to the Maven Central Repository.