Versions Compared

Key

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

...

  • JDK 11. Please note that older or newer versions of the JDK cannot build all of Codehaus Cargo, and hence should not be used to release new versions.
  • Maven 3.26.5 3 or newer, though it is for sure a good idea to use the latest Maven version available.
    With Maven 3.8.1 onwards, you might have some ArtifactTransferExceptions with the OW2 snapshot repository (which was defined as HTTP over a decade back). You can work around these using the instructions in the chapter ArtifactTransferException with Maven 3.8.1 onwards.
  • An access to the Sonatype Nexus instance as a manager for the Codehaus Cargo project. Read more about it on the Initial Setup section of the OSSRH guide.
  • The GNU privacy guard (GPG) installed on your machine and at least one secret key.
  • Your Sonatype Nexus credentials provided using your settings.xml file (in the ${user.home}/.m2/ directory). Here's an example settings.xml:

    Code Block
    <settings>
      [...]
      <servers>
        <server>
          <id>ossrh</id>
          <username>USERNAME</username>
          <password>PASSWORD</password>
        </server>
      </servers>
      [...]
    </settings>
    


...