9.2. Modifying the Maven settings file
Red Hat Decision Manager uses Maven settings.xml file to configure it’s Maven execution. You must create and activate a profile in the settings.xml file and declare the Maven repositories used by your Red Hat Decision Manager projects.
For information about the Maven settings.xml file, see the Apache Maven Project Setting Reference.
Procedure
-
In the
settings.xmlfile, declare the repositories that your Red Hat Decision Manager projects use. Usually, this is either the online Red Hat Decision Manager Maven repository or the Red Hat Decision Manager Maven repository that you download from the Red Hat Customer Portal and any repositories for custom artifacts that you want to use. Ensure that Business Central or Decision Server is configured to use the
settings.xmlfile. For example, specify thekie.maven.settings.custom=<SETTINGS_FILE_PATH>property where<SETTINGS_FILE_PATH>is the path to thesettings.xmlfile.On Red Hat JBoss Web Server, for Decision Server add
-Dkie.maven.settings.custom=<SETTINGS_FILE_PATH>to theCATALINA_OPTSsection of thesetenv.sh(Linux) orsetenv.bat(Windows) file. For standalone Business Central, enter the following command:java -jar rhpam-7.5.1-business-central-standalone.jar -s application-config.yaml -Dkie.maven.settings.custom=<SETTINGS_FILE_PATH>