From 777131d706b8379c5fb30f8161902d0388eb96bf Mon Sep 17 00:00:00 2001 From: Jorge Hernandez Date: Fri, 4 Jan 2019 14:43:44 -0600 Subject: Add tooling for drools policy developers This commit adds tooling to better support development activities for drools developers. 1. deploy artifacts to nexus or to local file repository on demand. It also allows to test on a single drools instance without the dependency on a nexus repo. 2. make installation configuration files conform to same convention (all upper case). Change-Id: Ia0a2fc25db2ef21b774a9eee4ed51d4b876a1993 Issue-ID: POLICY-1367 Signed-off-by: Jorge Hernandez --- packages/base/src/files/m2/settings.xml | 43 ++++++++++++++++------ packages/base/src/files/m2/standalone-settings.xml | 7 ++-- 2 files changed, 35 insertions(+), 15 deletions(-) (limited to 'packages/base/src/files/m2') diff --git a/packages/base/src/files/m2/settings.xml b/packages/base/src/files/m2/settings.xml index 4ec22c1e..63ab214d 100755 --- a/packages/base/src/files/m2/settings.xml +++ b/packages/base/src/files/m2/settings.xml @@ -3,7 +3,7 @@ ============LICENSE_START======================================================= Base Package ================================================================================ - Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + Copyright (C) 2017-2018 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. @@ -26,13 +26,33 @@ + + policy-local + + + + file-repository + file:${user.home}/.m2/file-repository + + true + always + + + true + always + + + + + + policy-releases - ${{releaseRepositoryID}} - ${{releaseRepositoryUrl}} + ${env.RELEASE_REPOSITORY_ID} + ${env.RELEASE_REPOSITORY_URL} true @@ -49,8 +69,8 @@ - ${{snapshotRepositoryID}} - ${{snapshotRepositoryUrl}} + ${env.SNAPSHOT_REPOSITORY_ID} + ${env.SNAPSHOT_REPOSITORY_URL} false @@ -126,6 +146,7 @@ + policy-local policy-releases policy-snapshots onap-releases @@ -135,14 +156,14 @@ - ${{snapshotRepositoryID}} - ${{repositoryUsername}} - ${{repositoryPassword}} + ${env.SNAPSHOT_REPOSITORY_ID} + ${env.REPOSITORY_USERNAME} + ${env.REPOSITORY_PASSWORD} - ${{releaseRepositoryID}} - ${{repositoryUsername}} - ${{repositoryPassword}} + ${env.RELEASE_REPOSITORY_ID} + ${env.REPOSITORY_USERNAME} + ${env.REPOSITORY_PASSWORD} diff --git a/packages/base/src/files/m2/standalone-settings.xml b/packages/base/src/files/m2/standalone-settings.xml index 15e37ca1..63f2f92d 100755 --- a/packages/base/src/files/m2/standalone-settings.xml +++ b/packages/base/src/files/m2/standalone-settings.xml @@ -3,7 +3,7 @@ ============LICENSE_START======================================================= Base Package ================================================================================ - Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + Copyright (C) 2017-2018 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. @@ -31,8 +31,8 @@ - ${{fileRepoID}} - ${{fileRepoUrl}} + file-repository + file:${user.home}/.m2/file-repository true always @@ -86,7 +86,6 @@ - onap-snapshots -- cgit 1.2.3-korg