Bug 1090010

Summary: Document access to BRMS/BPMS remote business central maven repository
Product: [Retired] JBoss BRMS Platform 6 Reporter: Jiri Svitak <jsvitak>
Component: DocumentationAssignee: Vikram Goyal <vigoyal>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Svitak <jsvitak>
Severity: high Docs Contact: Vikram Goyal <vigoyal>
Priority: high    
Version: 6.0.2CC: brms-docs, mbaluch, ppenicka, rrajasek
Target Milestone: CR1   
Target Release: 6.0.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 19:53:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiri Svitak 2014-04-22 11:30:56 UTC
Document access to BRMS/BPMS maven repo due to already reported problems:
https://bugzilla.redhat.com/show_bug.cgi?id=1074986
https://bugzilla.redhat.com/show_bug.cgi?id=1059584

The solution is described here https://bugzilla.redhat.com/show_bug.cgi?id=1059584#c4

Pasting it also here:

"It is either needed to turn on pre-emptive authentication for the repository server by

    <server>
      <id>guvnor-m2-repo</id>
      <username>admin</username>
      <password>admin</password>
      <configuration>
        <wagonProvider>httpclient</wagonProvider>
        <httpConfiguration>
          <all>
            <usePreemptive>true</usePreemptive>
          </all>
        </httpConfiguration>
      </configuration>
    </server>

or set Authorization HTTP header with Base64 encoded credentials

    <server>
      <id>guvnor-m2-repo</id>
      <configuration>
        <httpHeaders>
          <property>
            <name>Authorization</name>
            <!-- Base64-encoded "admin:admin" -->
            <value>Basic YWRtaW46YWRtaW4=</value>
          </property>
        </httpHeaders>
      </configuration>
    </server>

This should be documented."

Comment 1 Petr Penicka 2014-06-12 12:06:56 UTC
Configuration of pre-emptive authentication (and commented Base64-encoded Authorization HTTP header) added to the code samples in the following sections:

http://docbuilder.usersys.redhat.com/22697/#Using_the_JBoss_Integration_Maven_Repository_Local_Access
http://docbuilder.usersys.redhat.com/22697/#Configure_the_JBoss_EAP_Integration_Maven_Repository_Using_the_Maven_Settings

The same content is reused in BPM Suite installation guide.

Comment 3 Jiri Svitak 2014-06-25 15:28:25 UTC
Verified using the provided links, thanks!

Comment 4 Vikram Goyal 2014-07-18 01:24:45 UTC
*** Bug 996413 has been marked as a duplicate of this bug. ***