summaryrefslogtreecommitdiffstats
path: root/policy-management/src
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2019-02-15 16:48:36 +0000
committerGerrit Code Review <gerrit@onap.org>2019-02-15 16:48:36 +0000
commitb47140e63ebc5d878c66935698df99a987a6418e (patch)
tree15cfa1bf2caf941bf8959da516c5cb2ece43e516 /policy-management/src
parent710992a925b44fa9594d8f70bbc9f22a6f91d8ad (diff)
parentc6f2da8cb993382057c6e141b68af9334b6391d1 (diff)
Merge "Decouple nexus reconfiguration from installation"
Diffstat (limited to 'policy-management/src')
-rw-r--r--policy-management/src/main/server-gen/bin/policy-management-controller7
1 files changed, 6 insertions, 1 deletions
diff --git a/policy-management/src/main/server-gen/bin/policy-management-controller b/policy-management/src/main/server-gen/bin/policy-management-controller
index 51d83d6a..589c4c32 100644
--- a/policy-management/src/main/server-gen/bin/policy-management-controller
+++ b/policy-management/src/main/server-gen/bin/policy-management-controller
@@ -4,7 +4,7 @@
# ============LICENSE_START=======================================================
# ONAP POLICY
# ================================================================================
-# Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -49,6 +49,11 @@ function um_start() {
if [ -e $_LOGS/$PNAME.err ]; then mv $_LOGS/$PNAME.err $_LOGS/$PNAME.err.1; fi
CP=$(ls $_DIR/lib/*.jar | xargs -I X printf ":%s" X)
+ # pick up any new changes in the environment every time we start
+ source ${POLICY_HOME}/etc/profile.d/env.sh
+
+ ${POLICY_HOME}/bin/configure-maven
+
# If 'system.properties' exists, convert it into JVM arguments.
# Note that the following also handles property values with spaces.
IFS=$'\n'