...
- 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 someArtifactTransferException
s with the OW2 snapshot repository (which was defined as HTTP over a decade back). You can work around these using the instructions in the chapterArtifactTransferException
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.
- The secret key's public part must have been uploaded to the MIT PGP Public Key Server.
Your Sonatype Nexus credentials provided using your
settings.xml
file (in the${user.home}/.m2/
directory). Here's an examplesettings.xml
:Code Block <settings> [...] <servers> <server> <id>ossrh</id> <username>USERNAME</username> <password>PASSWORD</password> </server> </servers> [...] </settings>
...