aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2017-08-03 10:32:01 +0000
committerGuo Ruijing <ruijing.guo@intel.com>2017-08-03 10:35:20 +0000
commitc66150dd419f6ac29b895c6880198a6cbc7ad1df (patch)
tree7abf5c945c5f5a46a71e5aae1e7974bafda91fae
parente8e3a87b254715fe42fef155158b2fa8fe0f090f (diff)
[POLICY-150] integration with oparent
Change-Id: I072b7dadb370f7065ae4bf39192fc73bbbb9682b Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
-rw-r--r--README.md8
-rw-r--r--pom.xml24
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">
<modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.onap.oparent</groupId>
+ <artifactId>oparent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath/>
+ </parent>
<groupId>org.onap.policy.drools-applications</groupId>
<artifactId>drools-pdp-apps</artifactId>
@@ -43,24 +49,6 @@
<staging.path>content/repositories/staging/</staging.path>
</properties>
- <repositories>
- <repository>
- <id>ecomp-releases</id>
- <name>OpenECOMP Release Repository</name>
- <url>${nexusproxy}/${releases.path}</url>
- </repository>
- <repository>
- <id>ecomp-staging</id>
- <name>OpenECOMP Staging Repository</name>
- <url>${nexusproxy}/${staging.path}</url>
- </repository>
- <repository>
- <id>ecomp-snapshots</id>
- <name>OpenECOMP Snapshot Repository</name>
- <url>${nexusproxy}/${snapshots.path}</url>
- </repository>
- </repositories>
-
<build>
<plugins>
<plugin>