Project

General

Profile

Releasing Java SDK packages » History » Version 1

Peter Amstutz, 10/29/2021 02:52 PM

1 1 Peter Amstutz
h1. Releasing Java SDK packages
2
3
The Java SDK is distributed on the Sonatype artifact repository.  Here are the steps to release a new jar file:
4
5
# Build and upload package using https://ci.arvados.org/view/All/job/build-java-sdk
6
# Go to https://oss.sonatype.org and log in with the appropriate "sonatype" credentials
7
# Under "Build Promotion" on the left sidebar, click on "Staging Repostories"
8
# Find "orgarvados-1004" and click on it
9
# In the toolstrip, click on "Close" -- this locks the repository against further changes and runs validation checks
10
# The validation checks take a few minutes.  You can monitor it on the "Activity" tab
11
# Once the validations have passed, you'll be able to hit the "Release" button
12
# This moves the packages to the release repository and drops (deletes) the staging repository
13
# Reportedly there is lag of a few minutes on when a released package becomes visible / searchable