Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Bug
    • Labels:
      None

      Description

      I get the following errors when trying to deploy snapshots or releases:


      > mvn gpg:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=sonatype-nexus-stagi
      ng -DpomFile=dist/gbench-0.2.0.pom -Dfile=dist/gbench-0.2.0.jar
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Maven Stub Project (No POM) 1
      [INFO] ------------------------------------------------------------------------
      [INFO]
      [INFO] — maven-gpg-plugin:1.3:sign-and-deploy-file (default-cli) @ standalone-pom —
      GPG Passphrase: ************
      *gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
      gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
      Uploading: https://oss.sonatype.org/service/local/staging/deploy/maven2/com/google/gbench/gbench/0.2.0/gbench-0.2.0.jar
      Uploading: https://oss.sonatype.org/service/local/staging/deploy/maven2/com/google/gbench/gbench/0.2.0/gbench-0.2.0.pom
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 10.030s
      [INFO] Finished at: Thu Jul 21 04:55:46 JST 2011
      [INFO] Final Memory: 6M/19M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.3:sign-and-deploy-file (default-cli) on project standalone-
      pom: Failed to deploy artifacts: Could not transfer artifact com.google.gbench:gbench:jar:0.2.0 from/to sonatype-nexus-staging (https:
      //oss.sonatype.org/service/local/staging/deploy/maven2/): Failed to transfer file: https://oss.sonatype.org/service/local/staging/depl
      oy/maven2/com/google/gbench/gbench/0.2.0/gbench-0.2.0.jar. Return code is: 401 -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException


        Attachments

          Activity

            People

            • Assignee:
              juven Juven Xu
              Reporter:
              nagaimasato Nagai Masato
              Last Updated By:
              Juven Xu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: