From 87895565e98350f1ea0cca872432a253b7c4ad79 Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Tue, 11 Sep 2018 14:28:49 -0700 Subject: Support building against local nexus repos Refactor oparent pom to support running builds against local nexus repos without having to modify oparent source code. Change-Id: Ic4bd87a6c140ea0d5600fa0cf9aaa37543afcd77 Issue-ID: INT-652 Signed-off-by: Gary Wu --- pom.xml | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index f1ce155..09d5edc 100644 --- a/pom.xml +++ b/pom.xml @@ -1,6 +1,6 @@ /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} - + + nexus3.onap.org:10003 nexus3.onap.org:10002 + nexus3.onap.org:10001 + nexus3.onap.org:10003 + --> @@ -97,8 +101,23 @@ org.apache.maven.plugins maven-enforcer-plugin - 3.0.0-M1 + 3.0.0-M2 + + enforce-property + + enforce + + + + + onap.nexus.url + You must set a onap.nexus.url property in your ~/.m2/settings.xml. See oparent/settings.xml for an example. + + + true + + enforce-no-snapshots @@ -142,5 +161,6 @@ maven-enforcer-plugin + -- cgit 1.2.3-korg