aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpawel <pawel.kasperkiewicz@nokia.com>2019-11-28 10:06:44 +0100
committerpawel <pawel.kasperkiewicz@nokia.com>2019-11-28 10:06:44 +0100
commitdd6fdcd629585b8b22aa2b2040313f285e19c601 (patch)
treedc60a9240ea69fb3d5588a7119b4e6b6a2c4c9f0
parent7547ad7dbd45fff19c948da675ab09d72775f973 (diff)
Upgrade Java SDK from 8 to 11 in VES Collector
Issue-ID: DCAEGEN2-1966 Signed-off-by: pawel <pawel.kasperkiewicz@nokia.com> Change-Id: I1586f04ab58448cde013137f514bb2bb96b3520c
-rw-r--r--pom.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index f59cb9db..f36068fe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -31,7 +31,7 @@
<!-- PROJECT SETTINGS -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <java.version>8</java.version>
+ <java.version>11</java.version>
<docker.image.name>onap/org.onap.dcaegen2.collectors.ves.vescollector</docker.image.name>
<!-- TEST SETTINGS -->
<surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
@@ -44,6 +44,8 @@
<site.path>content/sites/site/org/onap/dcaegen2/collectors/ves/${project.artifactId}/${project.version}</site.path>
<maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
<onap.nexus.dockerregistry.daily>nexus3.onap.org:10003</onap.nexus.dockerregistry.daily>
+ <maven.compiler.target>${java.version}</maven.compiler.target>
+ <maven.compiler.source>${java.version}</maven.compiler.source>
</properties>
<build>
<pluginManagement>
@@ -149,7 +151,7 @@
<imageTag>${project.version}</imageTag>
<imageTag>latest</imageTag>
</imageTags>
- <baseImage>openjdk:8-jre-slim</baseImage>
+ <baseImage>openjdk:11-jre-slim</baseImage>
<user>vescollector</user>
<env>
<HOSTALIASES>/etc/host.aliases</HOSTALIASES>