Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-883

Setting Maven Mirror URL does not exclude Decision Central

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.3.1.GA
    • 7.2.1.GA
    • Cloud, Configuration
    • None
    • 2019 Week 11-13

      If a user specifies a maven mirror url in the templates, then that mirror should exclude Decision Central in it's "mirror of" config. Otherwise, maven in the KIE Server will attempt to look to Decision Central for external artifacts.

      To fix this, the following should be added to the deployment config for all kie servers (note that only the authoring templates will also include its exclusion by default):

                - name: MAVEN_MIRROR_OF 
                  value: "external:*,!${APPLICATION_NAME}-rhdmcentr" 
                - name: RHDMCENTR_MAVEN_REPO_ID 
                  value: "${APPLICATION_NAME}-rhdmcentr"
      

      The above only takes affect if a MAVEN_MIRROR_URL is specified, so this will not affect current behavior otherwise.

              dward-se-jboss David Ward
              dward-se-jboss David Ward
              Jakub Schwan Jakub Schwan
              Jakub Schwan Jakub Schwan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: