From: vv770d Date: Wed, 23 Feb 2022 17:35:05 +0000 (+0000) Subject: [MOD/Runtime] Fix build issues X-Git-Tag: 1.3.2-mod-runtimeapi~5 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=dcaegen2%2Fplatform.git;a=commitdiff_plain;h=97d45736bf35452b2358fd5a55acd3b6734c728a [MOD/Runtime] Fix build issues Change-Id: I2212e4ffe24b8876b7c84d2008671a92ecb6d749 Signed-off-by: vv770d Issue-ID: DCAEGEN2-3088 Signed-off-by: vv770d --- diff --git a/mod/runtimeapi/Changelog.md b/mod/runtimeapi/Changelog.md index 9e4f028..b128455 100644 --- a/mod/runtimeapi/Changelog.md +++ b/mod/runtimeapi/Changelog.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [1.3.2] - 2022-01-04 - [DCAEGEN2-3028] Change version format to MMddHHmm (removed YY) - [DCAEGEN2-3008] Update helmgen-core from snapshot to released version +- [DCAEGEN2-3088] Set spring-boot-maven-plugin to 2.6.2 ## [1.3.1] - 2021-10-13 - [DCAEGEN2-2936] Update helmgen-core to 1.0.2 diff --git a/mod/runtimeapi/runtime-web/pom.xml b/mod/runtimeapi/runtime-web/pom.xml index 3ec589f..af89495 100644 --- a/mod/runtimeapi/runtime-web/pom.xml +++ b/mod/runtimeapi/runtime-web/pom.xml @@ -2,8 +2,7 @@ - 4.0.0 - - org.onap.dcaegen2.platform.mod - runtimeapi - 1.3.2 - - runtime-web - 1.3.2-SNAPSHOT - jar - runtime-web - MOD Runtime Web Module - - - org.onap.dcaegen2.platform.mod - runtime-core - 1.3.2 - - - org.springframework.boot - spring-boot-starter-actuator - - - org.springframework.boot - spring-boot-starter-web - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 + + org.onap.dcaegen2.platform.mod + runtimeapi + 1.3.2 + + runtime-web + 1.3.2-SNAPSHOT + jar + runtime-web + MOD Runtime Web Module + + + org.onap.dcaegen2.platform.mod + runtime-core + 1.3.2 + + + org.springframework.boot + spring-boot-starter-actuator + + + org.springframework.boot + spring-boot-starter-web + - - org.springframework.boot - spring-boot-devtools - runtime - true - - - org.springframework.boot - spring-boot-starter-test - test - - - - com.google.guava - guava - 28.0-jre - - - io.springfox - springfox-boot-starter - 3.0.0 - - - io.springfox - springfox-swagger-ui - 3.0.0 - - - org.apache.httpcomponents - httpclient - 4.5.8 - test - - + + org.springframework.boot + spring-boot-devtools + runtime + true + + + org.springframework.boot + spring-boot-starter-test + test + + + + com.google.guava + guava + 28.0-jre + + + io.springfox + springfox-boot-starter + 3.0.0 + + + io.springfox + springfox-swagger-ui + 3.0.0 + + + org.apache.httpcomponents + httpclient + 4.5.8 + test + + - - - - org.springframework.boot - spring-boot-maven-plugin - - - - repackage - - - - - - io.fabric8 - docker-maven-plugin - - true - ${docker.pull.registry} - ${docker.push.registry} - - - onap/${project.groupId}.${project.artifactId} - ${onap.nexus.dockerregistry.daily} - - openjdk:11-jre-slim - - latest - ${project.version} - ${project.version}-${maven.build.timestamp}Z - - - artifact - - - apt-get update && apt-get install -y wget - wget https://get.helm.sh/helm-v3.5.4-linux-amd64.tar.gz && tar xvf helm-v3.5.4-linux-amd64.tar.gz && mv linux-amd64/helm /usr/local/bin/ - groupadd -r dcaemod && useradd -ms /bin/bash dcaemod -g dcaemod && mkdir -p /maven/data && chown -R dcaemod:dcaemod /maven/data - - /maven - - /tmp - - - 9090 - - dcaemod - - - java - -Djava.security.egd=file:/dev/./urandom - -jar - ${project.artifactId}-${project.version}.${project.packaging} - - - - - - - - - - build - push - - - - - - + + + + org.springframework.boot + spring-boot-maven-plugin + 2.6.2 + + + + repackage + + + + + + io.fabric8 + docker-maven-plugin + + true + ${docker.pull.registry} + ${docker.push.registry} + + + onap/${project.groupId}.${project.artifactId} + ${onap.nexus.dockerregistry.daily} + + openjdk:11-jre-slim + + latest + ${project.version} + ${project.version}-${maven.build.timestamp}Z + + + artifact + + + apt-get update && apt-get install -y wget + wget https://get.helm.sh/helm-v3.5.4-linux-amd64.tar.gz && tar xvf helm-v3.5.4-linux-amd64.tar.gz && mv linux-amd64/helm /usr/local/bin/ + groupadd -r dcaemod && useradd -ms /bin/bash dcaemod -g dcaemod && mkdir -p /maven/data && chown -R dcaemod:dcaemod /maven/data + + /maven + + /tmp + + + 9090 + + dcaemod + + + java + -Djava.security.egd=file:/dev/./urandom + -jar + ${project.artifactId}-${project.version}.${project.packaging} + + + + + + + + + + build + push + + + + + +