aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>