As publishing via OSSRH is no longer possible we need to switch to Central Portal API for publishing releases to Maven Central. I would recommend using njord over the closed-source Sonatype plugin as the latter is quite invasive (i.e. replaces maven-deploy-plugin via extension), is closed-source and in the past the Sonatype OSSRH plugin was poorly maintained.