MinIO Java SDK uses gradle build system.
Go through Maintainer Responsibility Guide.
Clone minio-java source repository locally.
$ git clone https://github.com/minio/minio-java
$ cd minio-javaRun runFunctionalTest gradle task to build and verify the SDK.
$ ./gradlew runFunctionalTestCreate a new gradle properties file
$ cat > ${HOME}/.gradle/gradle.properties <<EOF
signing.keyId=76A57749
signing.password=*******
signing.secretKeyRingFile=/media/${USER}/Minio2/trusted/secring.gpg
nexusUsername=********
nexusPassword=********
release=true
EOFUpload all artifacts belonging to io.minio artifact repository, additionally this step requires you to have access to MinIO's trusted private key.
$ ./gradlew uploadArchivesCloses and releases io.minio artifacts repository in Nexus to maven.
$ ./gradlew closeAndReleaseRepositoryTag and sign your release commit, additionally this step requires you to have access to MinIO's trusted private key.
$ export GNUPGHOME=/media/${USER}/Minio2/trusted
$ git tag -s 0.3.0
$ git push
$ git push --tags
Announce new release by adding release notes at https://github.com/minio/minio-java/releases from trusted@min.io account. Release notes requires two sections highlights and changelog. Highlights is a bulleted list of salient features in this release and Changelog contains list of all commits since the last release.
To generate changelog
git log --no-color --pretty=format:'-%d %s (%cr) <%an>' <last_release_tag>..<latest_release_tag>