Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-2097

Fail to release Azure-commons-plugin

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not A Defect
    • Component/s: artifactory
    • Labels:
      None
    • Environment:
    • Similar Issues:

      Description

      I was able to release this plugin before. But this time I got error like:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project azure-commons-core: Failed to deploy artifacts: Could not transfer artifact org.jenkins-ci.plugins:azure-commons-core:jar:sources:1.0.1 from/to maven.jenkins-ci.org (https://repo.jenkins-ci.org/releases/): Access denied to: https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/azure-commons-core/1.0.1/azure-commons-core-1.0.1-sources.jar -> [Help 1]
      
      

      It seems I do not have access to the repository. But https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/azure-commons-core/1.0.1/ has already had some uploaded artifacts and I was able to release it successfully before. Any ideas about this error?

       

      More Information here:

      My release command: mvn release:prepare release:perform -Darguments=-Dinstrkey=key

      My maven settings with:

       

      <server>       
        <id>maven.jenkins-ci.org</id> <!-- For parent 1.397 or newer; before this use id java.net-m2-repository -->       
        <username>account</username>       
        <password>password</password>   
      </server>
      

        Attachments

          Activity

          Hide
          danielbeck Daniel Beck added a comment -

          https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/azure-commons-core/1.0.1/ already has the file in question.

          Either this release has already been created, or a bug in your pom.xml causes the file to be uploaded twice, and we do not allow replacing previously published artifacts.

          Show
          danielbeck Daniel Beck added a comment - https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/azure-commons-core/1.0.1/ already has the file in question. Either this release has already been created, or a bug in your pom.xml causes the file to be uploaded twice, and we do not allow replacing previously published artifacts.

            People

            • Assignee:
              danielbeck Daniel Beck
              Reporter:
              jieshe Jie Shen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: