This patch updates the release script to use JDK 21 to build the
release. We could also use JDK 17 but using JDK 21 directly does not
change much. We have to verify anyway that the server works with 17 and
the client with 11.
Reviewers: Ismael Juma <ismael@juma.me.uk>
Previously, Apache Kafka was uploading release candidate (RC) artifacts
to users' home directories on home.apache.org. However, since this
resource has been decommissioned, we need to follow the standard
approach of putting release candidate artifacts into the appropriate
subversion directory, at https://dist.apache.org/repos/dist/dev/kafka/.
Reviewers: Justine Olshan <jolshan@confluent.io>
The current release script has a couple of issues:
* It's a single long file with duplicated logic, which makes
it difficult to understand and make changes
* When a command fails, the user is forced to start from the
beginning, expanding feedback loops. e.g. publishing step
fails because the credentials were set incorrectly in ~/.gradle/gradle.properties
Reviewers: Mickael Maison <mickael.maison@gmail.com>