Because of: keybase/keybase-issues#2798
export GPG_TTY=$(tty)
<servers>
<server>
<id>ossrh</id>
<username>${env.SONATYPE_USERNAME}</username>
<password>${env.SONATYPE_PASSWORD}</password>
</server>
</servers>
mvn clean deploy -P release-sign-artifacts --settings my-settings.xml