Project

General

Profile

Releasing Java SDK packages » History » Revision 4

Revision 3 (Peter Amstutz, 12/01/2021 08:13 PM) → Revision 4/7 (Peter Amstutz, 12/02/2021 08:07 PM)

h1. Releasing Java SDK packages 

 The Java SDK is distributed on the Sonatype artifact repository.    Here are the steps to release a new jar file: 

 reference: https://central.sonatype.org/publish/release/ 

 # Build and upload package using https://ci.arvados.org/view/All/job/build-java-sdk 
 # Go to https://oss.sonatype.org and log in with the appropriate "sonatype" credentials 
 # Under "Build Promotion" on the left sidebar, click on "Staging Repostories" 
 # Find "orgarvados-1004" and click on it 
 # In the toolstrip, click on "Close" -- this locks the repository against further changes and runs validation checks 
 # The validation checks take a few minutes.    You can monitor it on the "Activity" tab 
 # Once the validations have passed, you'll be able to hit the "Release" button 
 # This moves the packages to the release repository and drops (deletes) the staging repository 
 # Reportedly there is lag of a few minutes on when a released package becomes visible / searchable 

 

 h2. gradle.properties 

 <pre> 
 ossrhUsername=curii ossrhUsername = 'curii' 
 ossrhPassword=... ossrhPassword = '...' 
 signing.keyId=... signing.keyId=??? 
 signing.password= signing.password=??? 
 signing.secretKeyRingFile=...-secret-key.gpg 

 signing.secretKeyRingFile=secring.gpg 
 </pre>