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

Unable to publish artifacts ; Error code 401 Unauthorized

    XMLWordPrintable

    Details

      Description

      Please find attached settings.xml and pom.xml. In settings.xml, I am passing my actual credentials that I use to login to sonatype dashboard. I have also tried using the access token that we get from oss.sonatype.org, but was seeing this error consistently.

      [ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:deploy (injected-nexus-deploy) on project appbase-droid: Failed to deploy artifacts: Could not transfer artifact io.appbase:appbase-droid:jar:1.0.0-20181206.124925-1 from/to ossrh (https://oss.sonatype.org/content/repositories/snapshots): Failed to transfer file https://oss.sonatype.org/content/repositories/snapshots/io/appbase/appbase-droid/1.0.0-SNAPSHOT/appbase-droid-1.0.0-20181206.124925-1.jar with status code 401

        Attachments

        1. pom.xml
          3 kB
        2. settings.xml
          0.2 kB

          Activity

            People

            Assignee:
            jorlina Joel Orlina
            Reporter:
            siddharth Siddharth Kothari
            Last Updated By:
            Thad Watson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                tigCommentSecurity.panel-title