From c66150dd419f6ac29b895c6880198a6cbc7ad1df Mon Sep 17 00:00:00 2001 From: Guo Ruijing Date: Thu, 3 Aug 2017 10:32:01 +0000 Subject: [POLICY-150] integration with oparent Change-Id: I072b7dadb370f7065ae4bf39192fc73bbbb9682b Signed-off-by: Guo Ruijing --- README.md | 8 +++++--- pom.xml | 24 ++++++------------------ 2 files changed, 11 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index fdbfbb61f..28c664983 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ -This source repository contains ONAP Policy application 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, run: mvn clean install +This source repository contains ONAP Policy application 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 The Demo template rule is located in template.demo sub-project. Use that project to protoype and test the .drl demo rule. When finished update the archetype-closedloop-demo-rules project with the .drl. Be sure to remove the Setup rule and comment out any simulation/test code. diff --git a/pom.xml b/pom.xml index b32da77ee..5d5d5d617 100644 --- a/pom.xml +++ b/pom.xml @@ -22,6 +22,12 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 + + org.onap.oparent + oparent + 1.0.0-SNAPSHOT + + org.onap.policy.drools-applications drools-pdp-apps @@ -43,24 +49,6 @@ content/repositories/staging/ - - - ecomp-releases - OpenECOMP Release Repository - ${nexusproxy}/${releases.path} - - - ecomp-staging - OpenECOMP Staging Repository - ${nexusproxy}/${staging.path} - - - ecomp-snapshots - OpenECOMP Snapshot Repository - ${nexusproxy}/${snapshots.path} - - - -- cgit 1.2.3-korg