From 15be35adc59db544d907888a56d9ba91c465baed Mon Sep 17 00:00:00 2001 From: Guo Ruijing Date: Thu, 3 Aug 2017 11:32:09 +0000 Subject: [POLICY-151] drools-pdp integration with oparent Change-Id: Id419034816ea047276484e20c5e211a3fba5ec7a Signed-off-by: Guo Ruijing --- README.md | 8 +++++--- pom.xml | 28 +++++++--------------------- 2 files changed, 12 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 8eae27be..1afeaadd 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ -This source repository contains the ONAP Policy DroolsPDP code. 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, first build 'policy-common-modules' (which contains dependencies), and then run: mvn clean install +This source repository contains the ONAP Policy DroolsPDP code. 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 6b6b4721..f5a35c6e 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.drools-pdp drools-pdp 1.1.0-SNAPSHOT @@ -31,9 +38,6 @@ The ONAP Policy Engine drools-based PDP Project - 1.8 - 1.8 - UTF-8 1.8 1.8 1.1.0-SNAPSHOT @@ -72,24 +76,6 @@ packages - - - ecomp-snapshots - ONAP Snapshot Repository - ${nexusproxy}/${snapshots.path} - - - ecomp-releases - ONAP Release Repository - ${nexusproxy}/${releases.path} - - - ecomp-staging - ONAP Staging Repository - ${nexusproxy}/${staging.path} - - - ecomp-releases -- cgit 1.2.3-korg