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