From 7f04f800207d805922ec4915b20fa1f1c841927c Mon Sep 17 00:00:00 2001 From: Jorge Hernandez Date: Fri, 18 Aug 2017 16:39:45 -0500 Subject: Expand acces dependencies to ONAP repos. Make public ONAP drools-applications repos at runtime or during development testing to ensure that no dependencies are missed, nor all of them need to be published in the private nexus repository. This will be benefitial at runtime and also during control loop development as control loops archetypes could be used from anywhere. Change-Id: I787b5afaf5c525f83326e924d6b9bcf85f9a7662 Issue-ID: POLICY-159 Signed-off-by: Jorge Hernandez --- packages/base/src/files/m2/settings.xml | 175 ++++++++++++++------- packages/base/src/files/m2/standalone-settings.xml | 118 ++++++++++---- 2 files changed, 211 insertions(+), 82 deletions(-) (limited to 'packages/base/src') diff --git a/packages/base/src/files/m2/settings.xml b/packages/base/src/files/m2/settings.xml index f7b3c9e5..4ec22c1e 100755 --- a/packages/base/src/files/m2/settings.xml +++ b/packages/base/src/files/m2/settings.xml @@ -24,60 +24,127 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> - - - policy-profile - - true - - - - - ${{snapshotRepositoryID}} - ${{snapshotRepositoryUrl}} - - false - always - - - true - always - - - - - ${{releaseRepositoryID}} - ${{releaseRepositoryUrl}} - - true - always - - - false - always - - - - - - - - - policy-profile - - - - - ${{snapshotRepositoryID}} - ${{repositoryUsername}} - ${{repositoryPassword}} - - - ${{releaseRepositoryID}} - ${{repositoryUsername}} - ${{repositoryPassword}} - - + + + + policy-releases + + + + ${{releaseRepositoryID}} + ${{releaseRepositoryUrl}} + + true + + + false + + + + + + + + policy-snapshots + + + + ${{snapshotRepositoryID}} + ${{snapshotRepositoryUrl}} + + 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-releases + policy-snapshots + onap-releases + onap-staging + onap-snapshots + + + + + ${{snapshotRepositoryID}} + ${{repositoryUsername}} + ${{repositoryPassword}} + + + ${{releaseRepositoryID}} + ${{repositoryUsername}} + ${{repositoryPassword}} + + diff --git a/packages/base/src/files/m2/standalone-settings.xml b/packages/base/src/files/m2/standalone-settings.xml index 277113c2..15e37ca1 100755 --- a/packages/base/src/files/m2/standalone-settings.xml +++ b/packages/base/src/files/m2/standalone-settings.xml @@ -24,34 +24,96 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> - - - policy-profile - - true - - - - - ${{fileRepoID}} - ${{fileRepoUrl}} - - true - always - - - true - always - - - - - - - - - policy-profile - + + + + policy-local + + + + ${{fileRepoID}} + ${{fileRepoUrl}} + + true + always + + + 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 + onap-releases + onap-staging + onap-snapshots + -- cgit 1.2.3-korg