Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-568

Fail to deploy on Sonatype OSS since Maven 3.5.4

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.3
    • 3.4.0
    • wagon-http
    • None

    Description

      I've been trying to release AsyncHttpClient for days and deployment was always super slow until it ultimately failed or completely stalled.

      The issue seems to be that maven-deploy-plugin wants to upload checksum files. I have no idea where those would come from, as far as I know, those are generated by the maven repository.

       

      [INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ async-http-client-project ---
      Uploading to sonatype-nexus-staging: http://oss.sonatype.org/service/local/staging/deploy/maven2/org/asynchttpclient/async-http-client-project/2.0.40/async-http-client-project-2.0.40.pom
      [WARNING] Failed to upload checksum org/asynchttpclient/async-http-client-project/2.0.40/async-http-client-project-2.0.40.pom.sha1: null

       

       

      For each actual file, maven-deploy-plugin tries to upload a sha1 and a md5 files and this takes forever to ultimately fail.

      I tried upgrading plugins but nothing worked.

      I finally found this ticket against Sonatype OSS describing the exact same behavior and stating downgrading to maven 3.5.3 fixed the issue.

      Indeed, downgrading did the trick!

      I'm opening an issue here and not against OSS Sonatype as it looks like a maven regression to me.

      • maven 3.6.2: fails
      • maven 3.5.4: fails
      • maven 3.5.3: works like a charm

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              kalished Stephane Landelle
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: