From a790f4031d1b2abadf1e8a64713fb0f734a32926 Mon Sep 17 00:00:00 2001 From: Guo Ruijing Date: Thu, 3 Aug 2017 09:05:02 +0000 Subject: [POLICY-149]policy-common integration with oparent Change-Id: I63ae06a4ed4d9f327a75da021d710da6616465c8 Signed-off-by: Guo Ruijing --- README.md | 9 +++++--- pom.xml | 78 ++++++--------------------------------------------------------- 2 files changed, 13 insertions(+), 74 deletions(-) diff --git a/README.md b/README.md index 75d4b4e1..a3e84206 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ -This source repository contains ONAP common code, which is shared by 'policy-drools-pdp' and 'policy-engine'. The settings file only needs to support the standard Maven repositories (e.g. central = http://repo1.maven.org/maven2/), and any proxy settings needed in your environment. - -To build it using Maven 3, run: mvn clean install +This source repository contains ONAP common code, which is shared by +'policy-drools-pdp' and 'policy-engine'. To build it: +1. using Maven 3 +2. git clone http://gerrit.onap.org/r/oparent and copy +oparent/settings.xml to ~/.m2 +3. mvn clean install diff --git a/pom.xml b/pom.xml index 0bda7f1c..c9810fbb 100644 --- a/pom.xml +++ b/pom.xml @@ -22,6 +22,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 + + org.onap.oparent + oparent + 1.0.0-SNAPSHOT + + + org.onap.policy.common common-modules 1.1.0-SNAPSHOT @@ -50,35 +57,7 @@ site-manager - - - ecomp-snapshots - ONAP Snapshots Repository - ${nexusproxy}/${snapshots.path} - - - ecomp-releases - ONAP Release Repository - ${nexusproxy}/${releases.path} - - - ecomp-staging - ONAP Staging Repository - ${nexusproxy}/${staging.path} - - - - - ecomp-releases - ONAP Release Repository - ${nexusproxy}/${releases.path} - - - ecomp-snapshots - ONAP Snapshot Repository - ${nexusproxy}/${snapshots.path} - ecomp-site dav:${nexusproxy}${sitePath} @@ -106,49 +85,6 @@ - - org.codehaus.mojo - license-maven-plugin - 1.9 - - - - java - properties - - - java - - apache_v2 - - 2017 - AT&T Intellectual Property. All rights reserved. - - - ============LICENSE_START======================================================= - ============LICENSE_END========================================================= - ================================================================================ - false - true - true - true - true - - - - - / - - - - pom.xml - - - org.apache.maven.plugins maven-site-plugin -- cgit 1.2.3-korg