From bb03caf94de4ad884e308dbce4992e370638d629 Mon Sep 17 00:00:00 2001 From: Rashmi Pujar Date: Fri, 24 Jan 2020 15:34:04 -0500 Subject: Parameterize mvn repo urls and proxy settings This allows the users to build the docker images for drools-pdp and drools-application using their own CI pipelines if needed. Issue-ID: POLICY-2330 Signed-off-by: Rashmi Pujar Change-Id: I9ea0161b45d504be4e65a21c95e48dee4a78de3a --- packages/base/src/files/etc/m2/settings.xml | 46 ++++++---------------- .../base/src/files/etc/m2/standalone-settings.xml | 36 ++++++----------- 2 files changed, 23 insertions(+), 59 deletions(-) (limited to 'packages/base/src/files/etc') diff --git a/packages/base/src/files/etc/m2/settings.xml b/packages/base/src/files/etc/m2/settings.xml index 21212e0b..ed71e029 100644 --- a/packages/base/src/files/etc/m2/settings.xml +++ b/packages/base/src/files/etc/m2/settings.xml @@ -4,11 +4,12 @@ Base Package ================================================================================ Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. + Modifications Copyright (C) 2020 Bell Canada. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software @@ -19,18 +20,13 @@ ============LICENSE_END========================================================= --> - - false - - policy-local - file-repository @@ -45,12 +41,9 @@ - - policy-releases - ${env.RELEASE_REPOSITORY_ID} @@ -64,12 +57,9 @@ - - policy-snapshots - ${env.SNAPSHOT_REPOSITORY_ID} @@ -83,17 +73,14 @@ - - - onap-releases - + releases - onap-releases - onap-releases - https://nexus.onap.org/content/repositories/releases/ + releases + releases + ${env.MVN_RELEASE_REPO_URL} true @@ -102,18 +89,14 @@ - - - - onap-snapshots - + snapshots - onap-snapshots - onap-snapshots - https://nexus.onap.org/content/repositories/snapshots/ + snapshots + snapshots + ${env.MVN_SNAPSHOT_REPO_URL} false @@ -122,19 +105,15 @@ - - - policy-local policy-releases policy-snapshots - onap-releases - onap-snapshots + releases + snapshots - ${env.SNAPSHOT_REPOSITORY_ID} @@ -147,5 +126,4 @@ ${env.REPOSITORY_PASSWORD} - diff --git a/packages/base/src/files/etc/m2/standalone-settings.xml b/packages/base/src/files/etc/m2/standalone-settings.xml index e19180e1..8dff1a67 100644 --- a/packages/base/src/files/etc/m2/standalone-settings.xml +++ b/packages/base/src/files/etc/m2/standalone-settings.xml @@ -4,6 +4,7 @@ Base Package ================================================================================ Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. + Modifications Copyright (C) 2020 Bell Canada. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -19,18 +20,13 @@ ============LICENSE_END========================================================= --> - - false - - policy-local - file-repository @@ -45,17 +41,14 @@ - - - onap-releases - + releases - onap-releases - onap-releases - https://nexus.onap.org/content/repositories/releases/ + releases + releases + ${env.MVN_RELEASE_REPO_URL} true @@ -64,17 +57,14 @@ - - - onap-snapshots - + snapshots - onap-snapshots - onap-snapshots - https://nexus.onap.org/content/repositories/snapshots/ + snapshots + snapshots + ${env.MVN_SNAPSHOT_REPO_URL} false @@ -83,15 +73,11 @@ - - - policy-local - onap-releases - onap-snapshots + releases + snapshots - -- cgit 1.2.3-korg