Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-9898

using the staging plugin I get a 403 error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 2.12.1
    • Fix Version/s: None
    • Component/s: Bootstrap
    • Labels:
      None
    • Environment:
      RHEL 7 but testing on windows 32

      Description

      I run the command mvn clean deploy. at the point where it is doing a get to my nexus url I get

      build failed
      [INFO] ------------------------------------------------------------------------
      [WARNING] The requested profile "nexus" could not be activated because it does n
      ot exist.
      [ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1
      .6.6:deploy (injected-nexus-deploy) on project explicit-staging-example: Executi
      on injected-nexus-deploy of goal org.sonatype.plugins:nexus-staging-maven-plugin
      :1.6.6:deploy failed: Nexus connection problem to URL [https://repository.gxiclo
      ud.com/nexus ]: 403 - Forbidden -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
      ch.

      This happens no matter what I do in the settings file.

        Attachments

        1. pom.xml
          0.9 kB
        2. settings.xml
          0.7 kB

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            xposc-02 Creig Smith
            Last Updated By:
            Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title