Error formatting macro: pagetree: java.lang.NullPointerException

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/Cake 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.

...