From 161996dd93c63db0f8cd0e72f871431e67270b00 Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Wed, 9 Dec 2020 07:37:08 -0500 Subject: Updates to support use of oparent in non-ODL dependent code Added missing dependencies needed in oparent and dependencies-bom to allow oparent pom to be used in ccsdk/sli for code not directly dependent on OpenDaylight. Also, updated to latest springboot release and to latest released version of ONAP oparent pom. Note: this change does NOT address changes to compile jars as java 11. That change will come with the changes for ODL Aluminum. Change-Id: I599bae0c32f5ced7eada956a0ed3b57f40461cd5 Issue-ID: CCSDK-3001 Signed-off-by: Dan Timoney --- dependencies-bom/pom.xml | 28 ++++++++++-- oparent/pom.xml | 51 ++++++++++++++++++++-- .../src/main/properties/springboot2.properties | 4 +- springboot/springboot2/pom.xml | 6 +-- standalone/pom.xml | 2 +- 5 files changed, 78 insertions(+), 13 deletions(-) diff --git a/dependencies-bom/pom.xml b/dependencies-bom/pom.xml index a5e26f21..06ac0b67 100644 --- a/dependencies-bom/pom.xml +++ b/dependencies-bom/pom.xml @@ -77,12 +77,17 @@ com.sun.xml.bind jaxb-core 2.2.11 - - + + com.sun.xml.bind jaxb-impl 2.2.11 - + + + commons-codec + commons-codec + 1.15 + commons-lang commons-lang @@ -120,7 +125,7 @@ javax.annotation-api 1.3 true - + javax.servlet javax.servlet-api @@ -214,6 +219,11 @@ jackson-jaxrs 1.9.13 + + org.codehaus.jettison + jettison + 1.4.1 + org.glassfish.jersey jersey-bom @@ -221,11 +231,21 @@ pom import + + org.glassfish.jersey.bundles.repackaged + jersey-guava + 2.26-b03 + org.hamcrest hamcrest-library 1.3 + + org.json + json + 20201115 + org.jsoup jsoup diff --git a/oparent/pom.xml b/oparent/pom.xml index 998c0956..6ca7c830 100755 --- a/oparent/pom.xml +++ b/oparent/pom.xml @@ -55,9 +55,13 @@ 2.5.0 true + 2.1.1 + 2.10.0 + 2.0 + 1.1.5 - 1.4.0 - 1.6.3 + 1.4.1 + 1.6.5 @@ -70,6 +74,14 @@ import pom + + org.springframework.boot + spring-boot-dependencies + 2.3.5.RELEASE + import + pom + + org.onap.sdc.sdc-distribution-client sdc-distribution-client @@ -92,11 +104,39 @@ + + javax.annotation + javax.annotation-api + 1.3.2 + + + junit + junit + test + org.slf4j slf4j-api provided - + + + org.slf4j + slf4j-simple + test + + + + org.mockito + mockito-core + 1.10.19 + test + + + org.testng + testng + 6.11 + test + @@ -153,6 +193,11 @@ + + org.apache.maven.plugins + maven-resources-plugin + 3.2.0 + org.antlr antlr4-maven-plugin diff --git a/springboot/spring-boot-setup/src/main/properties/springboot2.properties b/springboot/spring-boot-setup/src/main/properties/springboot2.properties index 15dca1b9..ab784993 100644 --- a/springboot/spring-boot-setup/src/main/properties/springboot2.properties +++ b/springboot/spring-boot-setup/src/main/properties/springboot2.properties @@ -1,5 +1,5 @@ springbootparent.artifactId=spring-boot-starter-parent springbootparent.groupId=org.springframework.boot -springbootparent.version=2.3.3.RELEASE +springbootparent.version=2.3.5.RELEASE springboot.project.artifactId=spring-boot-starter-parent -spring.version=5.2.8.RELEASE \ No newline at end of file +spring.version=5.2.10.RELEASE \ No newline at end of file diff --git a/springboot/springboot2/pom.xml b/springboot/springboot2/pom.xml index 77bd08ca..432961cf 100644 --- a/springboot/springboot2/pom.xml +++ b/springboot/springboot2/pom.xml @@ -8,7 +8,7 @@ org.springframework.boot spring-boot-starter-parent - 2.3.3.RELEASE + 2.3.5.RELEASE @@ -101,8 +101,8 @@ ${ccsdl.sli.version} - 2.3.3.RELEASE - 5.2.8.RELEASE + 2.3.5.RELEASE + 5.2.10.RELEASE 1.8 diff --git a/standalone/pom.xml b/standalone/pom.xml index 5de9fa9f..3c931c0b 100755 --- a/standalone/pom.xml +++ b/standalone/pom.xml @@ -5,7 +5,7 @@ org.onap.oparent oparent - 3.0.1 + 3.1.0 -- cgit 1.2.3-korg