From 92dd0f7884a0a7b8e23f63336bbbca569b06fe6e Mon Sep 17 00:00:00 2001 From: Edyta Krukowska Date: Tue, 8 Dec 2020 13:06:50 +0100 Subject: Upgrade libraries to work with java 11 Issue-ID: SDC-3400 Signed-off-by: Edyta Krukowska Change-Id: I1c4f8cd4153111851bc83187af424a833ee7a1f7 --- pom.xml | 48 +++++++++++++--------- sdc-distribution-client/pom.xml | 6 +-- .../org/onap/sdc/utils/YamlToObjectConverter.java | 3 +- 3 files changed, 33 insertions(+), 24 deletions(-) diff --git a/pom.xml b/pom.xml index 52add6d..f42c3f8 100644 --- a/pom.xml +++ b/pom.xml @@ -33,15 +33,16 @@ 2.24 - 4.2 - 4.5.4 - 4.4.1 - 1.1.2 + 4.8 + 4.5.13 + 4.4.14 + 1.2.3 4.12 - 1.14 - 21.0 - 9.4.18.v20190429 - 0.11 + 1.27 + 30.0-jre + 9.4.35.v20201120 + 0.12 + 3.2.0 https://nexus.onap.org /content/sites/site/org/onap/sdc/sdc-distribution-client/${project.version} @@ -60,20 +61,29 @@ app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java ${project.version} + 5.6.6 + 3.9.1 + 3.4.2 + 0.8.6 + 2.22.2 + 3.8.1 + 11 + 11 + 3.7.0.1746 org.apache.maven.plugins maven-javadoc-plugin - 2.10.4 + ${maven-javadoc-plugin.version} false org.umlgraph.doclet.UmlGraphDoc org.umlgraph umlgraph - 5.6 + ${umlgraph.version} -views true @@ -95,12 +105,12 @@ org.apache.maven.plugins maven-site-plugin - 3.4 + ${maven-site-plugin.version} org.apache.maven.wagon wagon-webdav-jackrabbit - 2.10 + ${wagon-webdav-jackrabbit.version} @@ -108,7 +118,7 @@ org.jacoco jacoco-maven-plugin - 0.7.8 + ${jacoco-maven-plugin.version} @@ -126,7 +136,7 @@ org.apache.maven.plugins maven-surefire-plugin - 2.19.1 + ${maven-surefire-plugin.version} ${argLine} -Xmx2048m @@ -135,23 +145,23 @@ org.apache.maven.plugins maven-compiler-plugin - 2.5.1 + ${maven-compiler-plugin.version} true - 1.8 - 1.8 + ${maven-compiler-plugin.source} + ${maven-compiler-plugin.target} org.apache.maven.plugins maven-javadoc-plugin - 2.10.3 + ${maven-javadoc-plugin.version} org.sonarsource.scanner.maven sonar-maven-plugin - 3.0.2 + ${sonar-maven-plugin.version} diff --git a/sdc-distribution-client/pom.xml b/sdc-distribution-client/pom.xml index 596d3d3..d4effc6 100644 --- a/sdc-distribution-client/pom.xml +++ b/sdc-distribution-client/pom.xml @@ -6,10 +6,10 @@ 3.18.1 3.6.28 - 2.5 - 2.3.1 + 2.8.0 + 2.8.6 0.0.1 - 1.7.10 + 1.7.30 diff --git a/sdc-distribution-client/src/main/java/org/onap/sdc/utils/YamlToObjectConverter.java b/sdc-distribution-client/src/main/java/org/onap/sdc/utils/YamlToObjectConverter.java index ab0a528..00b10a0 100644 --- a/sdc-distribution-client/src/main/java/org/onap/sdc/utils/YamlToObjectConverter.java +++ b/sdc-distribution-client/src/main/java/org/onap/sdc/utils/YamlToObjectConverter.java @@ -57,8 +57,7 @@ public class YamlToObjectConverter { PropertyUtils propertyUtils = new PropertyUtils() { @Override //This is in order to workaround "default" field in HeatParameterEntry, since default is Java keyword - public Property getProperty(Class type, String name, BeanAccess bAccess) - throws IntrospectionException { + public Property getProperty(Class type, String name, BeanAccess bAccess) { name = name.substring(0, 1).toLowerCase() + name.substring(1); return super.getProperty(type, name, bAccess); } -- cgit 1.2.3-korg