No is a project that exists solely to test publication to Central Publisher Portal before the OSSRH sunset.
It prints "no!"
to standard output and exits with an error.
- Migrate your namespace to Central Portal.
- Add this line to
build.sbt
:ThisBuild / sonatypeCredentialHost := xerial.sbt.Sonatype.sonatypeCentralHost
This replaces any deprecated reference to
tlSonatypeUseLegacyHost
. - Run the workflow on at least Java 11, lest your publish fail with a
java/net/http/HttpTimeoutException
. See xerial/sbt-sonatype#548.ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec.temurin("11"))
The ideal commit message asks a rhetorical question and ends with,
No.
Is this always possible? No.
No.
No.
No.
No.
No.
Solo si se añade un signo de exclamación invertido. De lo contrario, ¡no!