From 5fb7cbb6997a8548597f617438de819d20200073 Mon Sep 17 00:00:00 2001 From: Krzysztof Gajewski Date: Fri, 7 Aug 2020 09:32:55 +0200 Subject: dcaegen2/platform - mod/runtimeAPI java11 upgrade Change-Id: I6a23640244b388272e12b9883a42797371f5ecec Issue-ID: DCAEGEN2-2288 Signed-off-by: Krzysztof Gajewski , Jerzy Szachniewicz --- mod/runtimeapi/pom.xml | 27 +++++++++++++++++++++++---- mod/runtimeapi/runtime-web/pom.xml | 4 ++-- 2 files changed, 25 insertions(+), 6 deletions(-) (limited to 'mod/runtimeapi') diff --git a/mod/runtimeapi/pom.xml b/mod/runtimeapi/pom.xml index f9919c5..3e95c7f 100644 --- a/mod/runtimeapi/pom.xml +++ b/mod/runtimeapi/pom.xml @@ -36,15 +36,34 @@ limitations under the License. dcaegen2-platform-mod-runtimeapi MOD Runtime API - 1.8 - 1.8 - true - 1.8 yyyyMMdd'T'HHmmss ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml + + + java11 + + 11 + 11 + 11 + + + + m2e.version + + true + + + + java8 + + 1.8 + 1.8 + + + diff --git a/mod/runtimeapi/runtime-web/pom.xml b/mod/runtimeapi/runtime-web/pom.xml index 3582c94..7404dde 100644 --- a/mod/runtimeapi/runtime-web/pom.xml +++ b/mod/runtimeapi/runtime-web/pom.xml @@ -109,7 +109,7 @@ limitations under the License. onap/${project.groupId}.${project.artifactId} ${onap.nexus.dockerregistry.daily} - openjdk:8-jre-alpine + openjdk:11-jre-slim latest ${project.version} @@ -119,7 +119,7 @@ limitations under the License. artifact - addgroup -g 1000 dcaemod && adduser -s /bin/bash -u 1000 -G dcaemod -D dcaemod && mkdir -p /maven/data && chown -R dcaemod:dcaemod /maven/data + groupadd -r dcaemod && useradd -ms /bin/bash dcaemod -g dcaemod && mkdir -p /maven/data && chown -R dcaemod:dcaemod /maven/data /maven -- cgit 1.2.3-korg