summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2017-08-07 20:08:26 +0000
committerGerrit Code Review <gerrit@onap.org>2017-08-07 20:08:26 +0000
commita7aa53f39121f0f3e3dbb1d631e700ccc7a3441d (patch)
treeea962e37670e562bfdb538a39cfef59da5c42e07
parentbee1dd6744c9037d96f03fa439b7b13c71df0a8b (diff)
parent15be35adc59db544d907888a56d9ba91c465baed (diff)
Merge "[POLICY-151] drools-pdp integration with oparent"
-rw-r--r--README.md8
-rw-r--r--pom.xml28
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">
<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-pdp</groupId>
<artifactId>drools-pdp</artifactId>
<version>1.1.0-SNAPSHOT</version>
@@ -31,9 +38,6 @@
<description>The ONAP Policy Engine drools-based PDP Project</description>
<properties>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.source.version>1.8</project.source.version>
<project.target.version>1.8</project.target.version>
<common-modules.version>1.1.0-SNAPSHOT</common-modules.version>
@@ -72,24 +76,6 @@
<module>packages</module>
</modules>
- <repositories>
- <repository>
- <id>ecomp-snapshots</id>
- <name>ONAP Snapshot Repository</name>
- <url>${nexusproxy}/${snapshots.path}</url>
- </repository>
- <repository>
- <id>ecomp-releases</id>
- <name>ONAP Release Repository</name>
- <url>${nexusproxy}/${releases.path}</url>
- </repository>
- <repository>
- <id>ecomp-staging</id>
- <name>ONAP Staging Repository</name>
- <url>${nexusproxy}/${staging.path}</url>
- </repository>
- </repositories>
-
<distributionManagement>
<repository>
<id>ecomp-releases</id>