Error formatting macro: pagetree: java.lang.NullPointerException

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fix formatting of xml examples

...

In a Maven project's pom.xml file:

...

<repositories>

...

langxml
  

...

<repository>

...

<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>

...

In a Leiningen/Cake project.clj file:

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

In a Gradle build.gradle file:

Code Block
langnone

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

...

In your ~/.m2/settings.xml file:

...

langxml

...

<settings>
  <profiles>
    <profile>
      <id>sonatype</id>
      <repositories>
        <repository>
          <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>
    </profile>
  </profiles>
  <activeProfiles>
    <!--make the profile active all the time -->
    <activeProfile>sonatype</activeProfile>
  </activeProfiles>
</settings>

...

clojure-contrib after 1.2.0

...