From c6f2da8cb993382057c6e141b68af9334b6391d1 Mon Sep 17 00:00:00 2001 From: Jorge Hernandez Date: Wed, 13 Feb 2019 13:12:37 -0600 Subject: Decouple nexus reconfiguration from installation This allows for nexus to be reconfigured dynamically. Change-Id: I103707ab7525ddb29663d7785739a34dff538605 Issue-ID: POLICY-1518 Signed-off-by: Jorge Hernandez --- packages/base/src/files/etc/m2/settings.xml | 171 ++++++++++++++++++++++++++++ 1 file changed, 171 insertions(+) create mode 100644 packages/base/src/files/etc/m2/settings.xml (limited to 'packages/base/src/files/etc/m2/settings.xml') diff --git a/packages/base/src/files/etc/m2/settings.xml b/packages/base/src/files/etc/m2/settings.xml new file mode 100644 index 00000000..2a56fcad --- /dev/null +++ b/packages/base/src/files/etc/m2/settings.xml @@ -0,0 +1,171 @@ + + + + + + + + + + policy-local + + + + file-repository + file:${user.home}/.m2/file-repository + + true + always + + + true + always + + + + + + + + policy-releases + + + + ${env.RELEASE_REPOSITORY_ID} + ${env.RELEASE_REPOSITORY_URL} + + true + + + false + + + + + + + + policy-snapshots + + + + ${env.SNAPSHOT_REPOSITORY_ID} + ${env.SNAPSHOT_REPOSITORY_URL} + + false + + + true + always + + + + + + + + onap-releases + + + + onap-releases + onap-releases + https://nexus.onap.org/content/repositories/releases/ + + true + + + false + + + + + + + + onap-staging + + + + onap-staging + onap-staging + https://nexus.onap.org/content/repositories/staging/ + + true + always + + + false + + + + + + + + + onap-snapshots + + + + onap-snapshots + onap-snapshots + https://nexus.onap.org/content/repositories/snapshots/ + + false + + + true + always + + + + + + + + + + policy-local + policy-releases + policy-snapshots + onap-releases + onap-staging + onap-snapshots + + + + + ${env.SNAPSHOT_REPOSITORY_ID} + ${env.REPOSITORY_USERNAME} + ${env.REPOSITORY_PASSWORD} + + + ${env.RELEASE_REPOSITORY_ID} + ${env.REPOSITORY_USERNAME} + ${env.REPOSITORY_PASSWORD} + + + + + -- cgit 1.2.3-korg