Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-1934

[GSS] (6.2.z) Unauthorized (401) when deploying artifact with encrypted server and master passwords

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 6.2.3
    • 6.2.0
    • Business Central
    • None

      +++ This bug was initially created as a clone of Bug #1313124 +++

      Description of problem:

      The project is configured to deploy artifacts to a remote nexus repository. Distribution management is set up in project poms.
      The jboss user's ~/.m2/settings.xml is configured with matching repo id, username, and encrypted password. The master password is configured in ~/.m2/settings-security.xml. When a kjar is built, the build fails with a 401 unauthorized error, and artifacts are not published to remote nexus.

      This issue has already been fixed in the upstream via this JIRA

      https://issues.jboss.org/browse/GUVNOR-2279

      Kindly fix the same issue for the next CP.

      Version-Release number of selected component (if applicable):
      6.2.0

      How reproducible:
      -always

      Steps to Reproduce:
      1. configure B*MS6.2.0 project to deploy artifacts to a remote nexus repository by pom.xml in Business Central.

      2. encrypt password of remote repository in settings.xml by settings-security.xml

      Ref: https://maven.apache.org/guides/mini/guide-encryption.html

      3. perform Build&Deploy the project

      Actual results:
      Deployment fails with error 401.

      Expected results:
      Deployment succeed.

      Additional info:

              manstis@redhat.com Michael Anstis
              rhn-support-hmiura Hiroko Miura
              Juraj Soltes Juraj Soltes (Inactive)
              Juraj Soltes Juraj Soltes (Inactive)
              Juraj Soltes (Inactive), Lukáš Petrovický (Inactive), Michael Anstis, Radovan Synek (Inactive), Rajesh Rajasekaran
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: