Skip to content

accur8/sync

Repository files navigation

Accur8 Sync

Sonatype Deployment

Prerequisites

Sonatype SBT Credentials

Create ~/.sbt/sonatype.credentials:

realm=Sonatype Nexus Repository Manager
host=s01.oss.sonatype.org
user=
password=

Configure GnuPG

Automatic Publish

nix-shell --command 'sbt clean publishSigned sonatypeBundleRelease'

Manual Publish

  • Below are all the granular steps that the automatic publishing does
  • You can view what is happening at the Sonatype Repository Manager after calling sonatypePrepare
nix-shell
sbt
clean
publishSigned
sonatypePrepare
sonatypeBundleUpload
sonatypeClose
sonatypePromote

Troubleshooting

  • If you get something like [info] gpg: signing failed: Inappropriate ioctl for device, run
    • Fish: set -x GPG_TTY (tty)
    • Bash: export GPG_TTY=$(tty)
  • If sbt hangs on signedArtifacts, kill the gpg-agent process
  • If you get an error like no javadoc jar found in folder, then packageDoc in publishArtifact is disabled
    • Add the following line inside object Common in project/Common.scala:
      • override def settings: Seq[Def.Setting[_]] = Seq()

Links

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published