aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2017-08-03 12:02:57 +0000
committerGuo Ruijing <ruijing.guo@intel.com>2017-08-03 12:05:11 +0000
commit0f5480527dad19a3c8688fda099f2815fff0f637 (patch)
treee6a5a47464451545fbfd70efb4fdae8789493ab5
parent8c79aa61b51e22a3bd0cbe3201ec61067d4fbfe6 (diff)
[POLICY-153]policy-docker integration with oparent
Change-Id: Ic06c8af07dda9151450aa863bc033400ff5971b3 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
-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