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

mvn release:perform fails for Pinot

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: None
    • Component/s: Nexus
    • Labels:
      None
    • Project:
      Incubator

      Description

      Hi all,

      I'm Seunghyun who's the release manager for Apache Pinot (incubating) project. I am currently working on getting the first release out for Pinot. I am having issues with maven-release plugin.

      I was following Apache document (http://www.apache.org/dev/publishing-maven-artifacts.html) on publishing maven artifacts.

      I have set up ~/.m2/settings.xml correctly and I added Apache Parent pom file to project's parent pom.

      However, both mvn deploy (pushing to snapshot) and mvn release:perform (pushing to staging) do not work with different reasons.

      mvn deploy (FORBIDDEN)

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project pinot: Failed to deploy artifacts: Could not transfer artifact org.apache.pinot:pinot:pom:0.1.1-20190213.022208-1 from/to apache.snapshots.https (https://repository.apache.org/content/repositories/snapshots): Access denied to: https://repository.apache.org/content/repositories/snapshots/org/apache/pinot/pinot/0.1.1-SNAPSHOT/pinot-0.1.1-20190213.022208-1.pom, ReasonPhrase: Forbidden. -> [Help 1]

      mvn release:perform (400 BAD REQUEST)

      [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project pinot: Failed to deploy artifacts: Could not transfer artifact org.apache.pinot:pinot:pom:0.1.0 from/to apache.releases.https (https://repository.apache.org/service/local/staging/deploy/maven2): Failed to transfer file: https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/pinot/pinot/0.1.0/pinot-0.1.0.pom. Return code is: 400, ReasonPhrase: Bad Request. -> [Help 1]

      Can someone help me out to resolve this issue? I have been searching google for hours and haven't found the good solution for both (especially mvn release:perform)

      Best,
      Seunghyun

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              snlee Seunghyun Lee
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: