summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2017-08-07 20:09:49 +0000
committerGerrit Code Review <gerrit@onap.org>2017-08-07 20:09:49 +0000
commit0beb802ff51065830f7d33a137465b8c6653f175 (patch)
treee93f11d2d3431f79cc1f702e80756a10f9baf30c
parentdc4ffa2b8d51ec96a7032db5c619eb991862322e (diff)
parent0f5480527dad19a3c8688fda099f2815fff0f637 (diff)
Merge "[POLICY-153]policy-docker integration with oparent"
-rw-r--r--pom.xml44
-rwxr-xr-xvagrant/setup_policy.sh3
2 files changed, 9 insertions, 38 deletions
diff --git a/pom.xml b/pom.xml
index e37a4cb0..a89462d2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,6 +23,12 @@
<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.docker</groupId>
<artifactId>docker</artifactId>
@@ -31,44 +37,6 @@
<name>Policy Engine - Docker build</name>
<description>ONAP Policy Docker Build</description>
- <properties>
- <nexusproxy>https://nexus.onap.org</nexusproxy>
- <releases.path>content/repositories/releases/</releases.path>
- <snapshots.path>content/repositories/snapshots/</snapshots.path>
- <staging.path>content/repositories/staging/</staging.path>
- </properties>
-
- <repositories>
- <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>
- <repository>
- <id>ecomp-snapshot</id>
- <name>ONAP Snapshot Repository</name>
- <url>${nexusproxy}/${snapshots.path}</url>
- </repository>
- </repositories>
-
- <distributionManagement>
- <repository>
- <id>ecomp-releases</id>
- <name>ONAP Release Repository</name>
- <url>${nexusproxy}/${releases.path}</url>
- </repository>
- <snapshotRepository>
- <id>ecomp-snapshots</id>
- <name>ONAP Snapshot Repository</name>
- <url>${nexusproxy}/${snapshots.path}</url>
- </snapshotRepository>
- </distributionManagement>
-
<build>
<plugins>
<plugin>
diff --git a/vagrant/setup_policy.sh b/vagrant/setup_policy.sh
index 4c43f45b..c2a43ce4 100755
--- a/vagrant/setup_policy.sh
+++ b/vagrant/setup_policy.sh
@@ -6,6 +6,9 @@ sudo apt-get update -y
sudo apt-get install -y maven openjdk-8-jdk npm python-pip docker.io
sudo pip install docker-compose
+git clone http://gerrit.onap.org/r/oparent
+cp oparent/settings.xml $HOME/.m2
+
for comp in common drools-pdp drools-applications engine
do
cd $HOME