Error with nexus-staging-maven-plugin - Central Repository - Sonatype Community

Error with nexus-staging-maven-plugin

post by ryber on Sep 13, 2023

Hello, I am trying to deploy to Maven central with the nexus-staging-maven-plugin and I am getting this error

Java version: 11.0.18

Maven: 3.9.2

[INFO] [ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.13:deploy (injected-nexus-deploy) on project unirest-java-bom: Execution injected-nexus-deploy of goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.13:deploy failed: A message body reader for Java class com.sonatype.nexus.staging.api.dto.StagingProfileRepositoryDTO, and Java type class com.sonatype.nexus.staging.api.dto.StagingProfileRepositoryDTO, and MIME media type text/html was not found -> [Help 1]

915 views

New & Unread Topics

Topic Replies Views Activity
Maven Central publishing limits: what high-volume publishers need to know 0 133 Jun 16
Feature request: Different levels for Maven Central tokens (deploy and publish) 0 22 8d
Nxrm3-maven-plugin:1.0.9 Missing 2 81 Sep 2025
Deployment error: Dependencies to SNAPSHOT versions not allowed 4 184 Oct 2025
Update: Maven Central Publishing Limits Enforcement Moved to October 1 0 31 5d