How to release a Scala library to Maven Central using sbt?
问题 I have an open source Scala project using SBT and I would like to release my library to Maven. How do I do it? 回答1: I always forget how to do this. So here are my notes: Once in your life: Create Sonatype account For every new developer machine: Install gpg e.g. on OSX: brew install gpg Run gpg --gen-key to generate a new key. Remember the passphrase and email you used . Make sure you see it when you list your secret keys: > gpg --list-secret-keys ~/.gnupg/pubring.kbx ------------------------