Uploaded image for project: 'BxMS Documentation'
  1. BxMS Documentation
  2. BXMSDOC-3227

Add a note about maven repositories in offline env

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • 6.4, 7.0, 7.1
    • None
    • None
    • 2018 Week 42-44, 2018 Week 45-47, 2019 Week 17-19
    • 3

      https://access.redhat.com/documentation/en-us/red_hat_jboss_bpm_suite/6.4/html/installation_guide/chap_maven_repositories

      6.3. Configuring Maven to Use File System Repositories

      Our zip maven repositories (BPM+EAP) are often used by customer who want to use them in offline environment. However, just these two repositories are not sufficient, as access to maven central is still required. This is because we do not maintain/ship many artifacts - such as maven plugins - these will be always located in maven central only.

      Please add a warn/note/disclaimer about this usage.

      The current workaround is this:

      Perform a KJAR build in online environment, then copy the ~/.m2/repository folder to the offline environment.

      Such note could look like this:

      If you want to use BPM Suite / RHPAM in offline environment, using only BPM/RHPAM and EAP zip maven repositories in settings.xml is not sufficient because access to maven central is still required for some artifacts. To bypass this, you can first perform a KJAR build in online environment, which will force maven to download every necessary artifact from Maven Central, and then copy the ~/.m2/repository into the offline environment.

          There are no Sub-Tasks for this issue.

              emmurphy1@redhat.com Emily Murphy
              rhn-support-agiertli Anton Giertli
              Jan Hrcek Jan Hrcek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: