diff options
author | adheli.tavares <adheli.tavares@est.tech> | 2024-08-01 14:00:57 +0100 |
---|---|---|
committer | adheli.tavares <adheli.tavares@est.tech> | 2024-08-01 14:03:21 +0100 |
commit | f6d8e60eb75733cf9996bffb3c6ecb586f377da6 (patch) | |
tree | dd5c096965bd37d2914ab0e17dd511bd5029ac00 /packages/base/src/files/bin/configure-maven | |
parent | 4ec22933a69bcf5d2031d3c76fb32d1c50e0d7e1 (diff) |
Fix Drools-Apps executing policies
- hibernate dependencies were causing conflicts; updated to
latest hibernate-core with all the required deps.
- adjusted some variables to be correctly read by properties
parser.
- added STDOUT option to logback.xml to be able to get logs
from controllers/features when using docker logs command.
Issue-ID: POLICY-4955
Change-Id: Id3475fc77a63c46697c437bd413ebc1f97b731af
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'packages/base/src/files/bin/configure-maven')
-rw-r--r-- | packages/base/src/files/bin/configure-maven | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/packages/base/src/files/bin/configure-maven b/packages/base/src/files/bin/configure-maven index 70c3d0cc..c62da818 100644 --- a/packages/base/src/files/bin/configure-maven +++ b/packages/base/src/files/bin/configure-maven @@ -4,6 +4,7 @@ # ONAP # ================================================================================ # Copyright (C) 2019-2021 AT&T Intellectual Property. All rights reserved. +# Modifications Copyright (C) 2024 Nordix Foundation. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -24,11 +25,11 @@ if [ "${DEBUG}" = "y" ]; then set -x fi -HOME_M2="${HOME}"/.m2 -mkdir -p "${HOME_M2}" 2> /dev/null +export M2_HOME="${HOME}"/.m2 +mkdir -p "${M2_HOME}" 2> /dev/null if [ -z "${SNAPSHOT_REPOSITORY_URL}" ] && [ -z "${RELEASE_REPOSITORY_URL}" ]; then - ln -s -f "${POLICY_HOME}"/etc/m2/standalone-settings.xml "${HOME_M2}"/settings.xml + ln -s -f "${POLICY_HOME}"/etc/m2/standalone-settings.xml "${M2_HOME}"/settings.xml else - ln -s -f "${POLICY_HOME}"/etc/m2/settings.xml "${HOME_M2}"/settings.xml + ln -s -f "${POLICY_HOME}"/etc/m2/settings.xml "${M2_HOME}"/settings.xml fi |