401 Unathorized error publishing to Maven central
Summary
We updated the release jobs to migrate to the maven central repo. But the job fails with 401 Unauthorized.
Job - https://github.com/eclipse-xpanse/xpanse/actions/runs/15629410318/job/44030056202
[INFO] [mavenCentral] Uploading org.eclipse.xpanse-eclipse-xpanse-1.0.27-bundle.zip
jreleaser.shadow.org.jreleaser.sdk.mavencentral.api.MavenCentralAPIException: 401: Unauthorized
at jreleaser.shadow.org.jreleaser.sdk.mavencentral.MavenCentral$MavenCentralErrorDecoder.decode(MavenCentral.java:288)
at jreleaser.shadow.feign.InvocationContext.decodeError(InvocationContext.java:133)
at jreleaser.shadow.feign.InvocationContext.proceed(InvocationContext.java:80)
at jreleaser.shadow.feign.RedirectionInterceptor.intercept(RedirectionInterceptor.java:46)
at jreleaser.shadow.feign.ResponseInterceptor.lambda$apply$2(ResponseInterceptor.java:68)
at jreleaser.shadow.feign.ResponseHandler.handleResponse(ResponseHandler.java:69)
at jreleaser.shadow.feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:109)
at jreleaser.shadow.feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:53)
at jreleaser.shadow.feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:104)
Priority
-
Urgent -
High -
Medium -
Low
Severity
-
Blocker -
Major -
Normal -
Low
Impact
Cannot release software anymore.
Edited by Swaroop Akulu Raghupathy