zingg icon indicating copy to clipboard operation
zingg copied to clipboard

Load Zingg jar in Maven so that it can be picked up directly by Databricks

Open sonalgoyal opened this issue 2 years ago • 5 comments

Databricks can load Maven jars directly, https://kb.databricks.com/libraries/maven-library-version-mgmt.html - so let us publish there and let users pick it up instead of manually copying

sonalgoyal avatar Mar 07 '22 05:03 sonalgoyal

also update Medium article and our documentation

sonalgoyal avatar Mar 07 '22 06:03 sonalgoyal

Are the credentials already available in the repository as env secrets? What are the name of the env variables?

edmondop avatar Mar 17 '22 03:03 edmondop

No they are not. Please tell me what all you will need.

sonalgoyal avatar Mar 17 '22 04:03 sonalgoyal

You need to create an account on Sonatype, see the first two steps here: https://central.sonatype.org/publish/publish-guide/#create-a-ticket-with-sonatype Also, you need to create a GPG key that will be stored in the env variables of the pipeline. After you have completed those step, please configure the following variables as repository env variables

  • MAVEN_GPG_PASSPHRASE: the GPG passphrase
  • MAVEN_GPG_PRIVATE_KEY: the contents of the private.gpg file you just created
  • OSSRH_USERNAME: Sonatype username
  • OSSRH_TOKEN: Sonatype password

edmondop avatar Mar 17 '22 04:03 edmondop

https://issues.sonatype.org/browse/OSSRH-79039

I have created the account and issue. I guess we have to wait for their response now?

sonalgoyal avatar Mar 17 '22 04:03 sonalgoyal