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