Uploaded image for project: 'Community Support - Open Source Project Repository Hosting'
  1. Community Support - Open Source Project Repository Hosting
  2. OSSRH-54054

Unable to release staging repository due to maven-metadata.xml.sha512/256 files

    XMLWordPrintable

    Details

    • Type: Publishing Support
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Labels:
    • Group Id:
      null
    • Publishing Hostname:
      oss.sonatype.org
    • Modify publishing permissions?:
      No

      Description

      Hi, our project has hit an issue reported in other tickets like OSSRH-53267. We pushed a release before using Gradle 6.0 creating sha512 and sha256 files without knowing that this would block further releases unless we disabled them.

      Now we get this error:

      typeId RepositoryWritePolicy
      failureMessage Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/com/discord4j/stores-api/maven-metadata.xml.sha512'
      failureMessage Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/com/discord4j/stores-api/maven-metadata.xml.sha256'
      failureMessage Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/com/discord4j/stores-tck/maven-metadata.xml.sha512'
      failureMessage Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/com/discord4j/stores-tck/maven-metadata.xml.sha256'
      failureMessage Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/com/discord4j/stores-jdk/maven-metadata.xml.sha512'
      failureMessage Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/com/discord4j/stores-jdk/maven-metadata.xml.sha256'
      failureMessage Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/com/discord4j/stores-redis/maven-metadata.xml.sha512'
      failureMessage Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/com/discord4j/stores-redis/maven-metadata.xml.sha256'
      failureMessage Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/com/discord4j/stores-caffeine/maven-metadata.xml.sha512'
      failureMessage Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/com/discord4j/stores-caffeine/maven-metadata.xml.sha256'

      I read about the causes, workarounds and flag in Gradle 6.0.1 to disable them but I already pushed some of the hashes to some repositories and currently live on central. Can you help us removing these files?

      The files are:

      com/discord4j/bom/maven-metadata.xml.sha256
      com/discord4j/bom/maven-metadata.xml.sha512
      com/discord4j/stores-api/maven-metadata.xml.sha256
      com/discord4j/stores-api/maven-metadata.xml.sha512
      com/discord4j/stores-caffeine/maven-metadata.xml.sha256
      com/discord4j/stores-caffeine/maven-metadata.xml.sha512
      com/discord4j/stores-common/maven-metadata.xml.sha256
      com/discord4j/stores-common/maven-metadata.xml.sha512
      com/discord4j/stores-jdk/maven-metadata.xml.sha256
      com/discord4j/stores-jdk/maven-metadata.xml.sha512
      com/discord4j/stores-redis/maven-metadata.xml.sha256
      com/discord4j/stores-redis/maven-metadata.xml.sha512
      com/discord4j/stores-tck/maven-metadata.xml.sha256
      com/discord4j/stores-tck/maven-metadata.xml.sha512

       

      Thanks for considering my request.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jorlina Joel Orlina
              Reporter:
              quantic Ivan Abarca
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  tigCommentSecurity.panel-title