From c36ccc452171c77c6985d0a511b12e1c9fb1b7dd Mon Sep 17 00:00:00 2001 From: Jerry Flood Date: Wed, 17 Oct 2018 10:31:22 -0400 Subject: Updates to build docker images Issue-ID: OPTFRA-373 Change-Id: I3461fb4df7526412525c1ab9ca318316a53e27e9 Signed-off-by: Jerry Flood --- cmso-database/pom.xml | 65 ++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 59 insertions(+), 6 deletions(-) (limited to 'cmso-database/pom.xml') diff --git a/cmso-database/pom.xml b/cmso-database/pom.xml index bef54fd..7a7146e 100644 --- a/cmso-database/pom.xml +++ b/cmso-database/pom.xml @@ -38,7 +38,7 @@ oparent 1.2.0 - + org.onap.optf.cmso liquibase 0.1.0-SNAPSHOT @@ -91,10 +91,6 @@ org.liquibase liquibase-core - - mysql - mysql-connector-java - org.mariadb.jdbc mariadb-java-client @@ -106,7 +102,17 @@ org.springframework.boot spring-boot-maven-plugin - 2.0.4.RELEASE + ${spring.boot.version} + + + + repackage + + + ${start-class} + + + org.liquibase @@ -116,6 +122,53 @@ etc/config/liquibase.properties + + io.fabric8 + docker-maven-plugin + 0.26.0 + + true + 1.23 + + + onap/cmso-dbinit + onap-cmso-dbinit + + true + + latest + + ${project.basedir}/src/main/docker/Dockerfile + + ${project.basedir}/src/main/docker/assembly/cmso-files.xml + onap-cmso + + + + + + + + generate-images + install + + build + + + + push-images + deploy + + build + push + + + onap/cmso-init:%l + + + + + docker-liquibase -- cgit 1.2.3-korg