Sbt - trouble publishing to s01.oss.sonatype.org

Hi everyone,

I’m having trouble publishing jackson-module-scala 3.0.0 snaphots to s01.oss.sonatype.org. Jackson 3.0 uses new groupIds tools.jackson... which are assigned to s01.oss.sonatype.org. Jackson 2.x uses groupIds com.fasterxml.jackson... which are assigned to the legacy oss.sonatype.org.

sbt and sbt-sonatype both document using s01.oss.sonatype.org but so far, I’ve had no success with that URL. Despite all the sbt settings pointing at s01.oss.sonatype.org, I get build errors when publishing that say there are 403 issues accessing oss.sonatype.org.

Does anyone have an sbt based project that successfully publishes to s01.oss.sonatype.org that I can compare my sbt settings to?

Anyone who wants to check my settings can look at https://github.com/FasterXML/jackson-module-scala/tree/master (note the branch - which is not the default branch).

Update release-howto.md · FasterXML/jackson-module-scala@2b0f12b · GitHub shows a publish failure with the HTTP failure for the wrong host (oss.sonatype.org).

Any assistance would be appreciated.

I made another update to the sbt file and it is working now.

It’s not unusual for sonatype publishes to have intermittent downtimes. It’s unfortunate, but it’s a free service ¯_(ツ)_/¯

Also: the situation has improved a lot in the last 6 months.

Thanks @mpollmeier - Sonatype publishing is more reliable than before. My problem was more with sbt/sbt plugins and finding the right settings - I ended up setting more values than I expected to have to.

shameless plug: https://github.com/ShiftLeftSecurity/sbt-ci-release-early