Details
-
Publishing Support
-
Resolution: Fixed
-
Major
-
null
-
oss.sonatype.org
-
No
Description
I am publishing using the new user Spark-DS which I signed up on 03/04, and was asked to publish to https://s01.oss.sonatype.org
so I prepare the sonatype_credentials as below:
realm=Sonatype Nexus Repository Manager
host=s01.oss.sonatype.org
user=Spark-DS
But when I run sonatypeBundleRelease, I got the error "No credential is found for oss.sonatype.org"
sbt:logic-schema> publishSigned
......
[success] Total time: 18 s, completed Mar 12, 2021 5:12:32 PM
sbt:logic-schema> sonatypeBundleRelease
[MISSING_CREDENTIAL] No credential is found for oss.sonatype.org. Prepare ~/.sbt/(sbt_version)/sonatype.sbt file.
at xerial.sbt.sonatype.SonatypeClient.$anonfun$directCredentials$1(SonatypeClient.scala:45)
at scala.Option.getOrElse(Option.scala:189)
at xerial.sbt.sonatype.SonatypeClient.directCredentials$lzycompute(SonatypeClient.scala:43)
......
at xsbt.boot.Boot.main(Boot.scala)
[error] [MISSING_CREDENTIAL] No credential is found for oss.sonatype.org. Prepare ~/.sbt/(sbt_version)/sonatype.sbt file.
[error] Use 'last' for the full log.
I also tried to change the host to oss.sonatype.org, then I a [403: Forbidden] error which was expected.