Skip to content

A Wercker step that simplifies publishing SBT based projects to Sonatype

Notifications You must be signed in to change notification settings

audienceproject/sbt-to-maven-central

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Publish an SBT project to Maven Central

This step simplifies the cumbersome process of publishing an SBT based artefact to Maven Central. You will need to be using SBT version 0.13 and up for this to work. Also you must have completed all the required steps that are a prerequisite to publishing to Maven Central.

  • user: The username that was used when registering Initial Setup.
  • password: The password that was used when registering Initial Setup.
  • private-key: The PGP private key corresponding to your identity.
  • passphrase: The passphrase corresponding to your private key. It will have to be provided as a one-liner with \n for the newlines (Eg: -----BEGIN PGP PRIVATE KEY BLOCK-----\n\n******* .... ******\n-----END PGP PRIVATE KEY BLOCK-----).
  • destination: The destination of the artefact. Can be one of: SNAPSHOT, RELEASE. Defaults to SNAPSHOT
  • unattended: If this is set to true, the artefact will be published to Maven Central without any manual intervention. If it is set to false, the actual steps of Close and Release will have to be taken manually. Defaults to false.

Example

steps:
    - audienceproject/sbt-to-maven-central:
        user: admin
        password: hjj6sdfb2378caibca8cst675svs
        private-key: -----BEGIN PGP PRIVATE KEY BLOCK-----\n\n*******\n**********\n******** .... *******\n******\n-----END PGP PRIVATE KEY BLOCK-----
        passphrase: hjl8dsfu667dsfiuaf78atf86ac6ay8gy9c8a5c689sdvas79cda
        destination: RELEASE
        unattended: true

About

A Wercker step that simplifies publishing SBT based projects to Sonatype

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages