summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2017-08-03 11:44:10 +0000
committerGuo Ruijing <ruijing.guo@intel.com>2017-08-03 11:50:20 +0000
commite938284cec3b06a7f6587b7439eb378b69c3adf1 (patch)
treeac5d8689046256f10a82fc7797020fa56a56537e
parent5497a61df99a4197d8938a8782b025aeb0c5615b (diff)
[POLICY-152] engine integration with oparent
Change-Id: Ia03582b13052d1f0dca6c7ff2f7918679bbd43de Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
-rw-r--r--README.md6
-rw-r--r--pom.xml28
2 files changed, 12 insertions, 22 deletions
diff --git a/README.md b/README.md
index 3e8ca7892..a31b952ac 100644
--- a/README.md
+++ b/README.md
@@ -1 +1,5 @@
-This source repository contains the ONAP Policy Engine code. The settings file 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 the ONAP Policy Engine 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 fb6977eda..17faafcf8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2,6 +2,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.engine</groupId>
<artifactId>PolicyEngineSuite</artifactId>
<version>1.1.0-SNAPSHOT</version>
@@ -11,9 +18,6 @@
<description>The ONAP Policy Engine main pom</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>
<jetty.plugin.version>9.2.3.v20140905</jetty.plugin.version>
@@ -55,24 +59,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>