I’m glad to announce this good news for Scala library maintainers!
I’ve just released sbt-sonatype 3.6 https://github.com/xerial/sbt-sonatype, which improved the upload performance to Sonatype significantly faster.
Previously, publishSigned task took a long time if you have hundreds of small artifact files in your projects. By using a local staging repository and bundle upload to Sonatype, thousands of files can be uploaded in several minutes. This will reduce the pain of maintaining cross-build projects that might have multiple sub-modules.
With sbt-sonatype 3.6, you only need two commands to publish your artifacts to Maven Central (Sonatype OSS repository):
sbt-sonatype 3.6 also added support for restarting your release from scratch by properly cleaning up the previously created stating repository at Sonatype. So even if your release fails for some reasons (e.g., network failures or outage of Sonatype API), you can safely restart the release process just by re-running sonatypeBundleRelease command.
Happy OSS programming!