diff options
author | Jorge Hernandez <jh1730@att.com> | 2017-08-07 20:09:49 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-08-07 20:09:49 +0000 |
commit | 0beb802ff51065830f7d33a137465b8c6653f175 (patch) | |
tree | e93f11d2d3431f79cc1f702e80756a10f9baf30c | |
parent | dc4ffa2b8d51ec96a7032db5c619eb991862322e (diff) | |
parent | 0f5480527dad19a3c8688fda099f2815fff0f637 (diff) |
Merge "[POLICY-153]policy-docker integration with oparent"
-rw-r--r-- | pom.xml | 44 | ||||
-rwxr-xr-x | vagrant/setup_policy.sh | 3 |
2 files changed, 9 insertions, 38 deletions
@@ -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 |