From 5fda209b043e1cc1d1502cc8654bb72643868fb3 Mon Sep 17 00:00:00 2001 From: Andrew Gauld Date: Fri, 17 Jan 2020 16:53:12 +0000 Subject: mod-runtimeapi fix docker build and code coverage Change-Id: I2038934553b831d98bbbdbd893d253cb5b733aa6 Issue-ID: DCAEGEN2-1860 Signed-off-by: Andrew Gauld --- mod/runtimeapi/pom.xml | 58 +++++++++++++++++----------------- mod/runtimeapi/runtime-web/pom.xml | 65 +++++++++++++++++++++++--------------- 2 files changed, 68 insertions(+), 55 deletions(-) (limited to 'mod/runtimeapi') diff --git a/mod/runtimeapi/pom.xml b/mod/runtimeapi/pom.xml index d33596e..0f79be4 100644 --- a/mod/runtimeapi/pom.xml +++ b/mod/runtimeapi/pom.xml @@ -2,46 +2,46 @@ 4.0.0 - pom - - runtime-core + pom + + runtime-core runtime-web - - org.springframework.boot - spring-boot-starter-parent - 2.1.7.RELEASE - + + org.onap.oparent + oparent + 2.0.0 org.onap.dcaegen2.platform.mod runtimeapi 1.0.0 - runtimeapi + dcaegen2-platform-mod-runtimeapi MOD Runtime API - + true 1.8 + yyyyMMdd'T'HHmmss - - - - - maven-deploy-plugin - 2.8.2 - - true - - - - + - - - org.sonarsource.scanner.maven - sonar-maven-plugin - 3.6.0.1398 - + + + org.sonarsource.scanner.maven + sonar-maven-plugin + 3.6.0.1398 + - + + + + + org.springframework.boot + spring-boot-starter-parent + 2.1.7.RELEASE + pom + import + + + diff --git a/mod/runtimeapi/runtime-web/pom.xml b/mod/runtimeapi/runtime-web/pom.xml index 19d2af7..27cc960 100644 --- a/mod/runtimeapi/runtime-web/pom.xml +++ b/mod/runtimeapi/runtime-web/pom.xml @@ -2,23 +2,16 @@ 4.0.0 - jar - - org.springframework.boot - spring-boot-starter-parent - 2.1.7.RELEASE - + + org.onap.dcaegen2.platform.mod + runtimeapi + 1.0.0 - org.onap.dcae runtime-web 1.0.0 + jar runtime-web MOD Runtime Web Module - - - 1.8 - - org.onap.dcaegen2.platform.mod @@ -60,12 +53,12 @@ io.springfox springfox-swagger-ui 2.9.2 - - + + org.json json 20190722 - + @@ -74,18 +67,38 @@ org.springframework.boot spring-boot-maven-plugin + + io.fabric8 + docker-maven-plugin + + true + IfNotPresent + + + onap/${project.groupId}.${project.artifactId} + ${onap.nexus.dockerregistry.daily} + + ${project.basedir} + none + + latest + ${project.version} + ${project.version}-${maven.build.timestamp}Z + + + + + + + + + build + push + + + + - - - - maven-deploy-plugin - 2.8.2 - - true - - - - -- cgit 1.2.3-korg