From b443104fc835cde86f4fbd88cd7f9521a31650e5 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Thu, 1 Dec 2022 17:55:58 +0000 Subject: [PATCH] Update pom.xml to add spring doc Springfox will be replaced with Spring Doc for rendering the documentation from controllers using OpenAPI 3.0 (Swagger 3.0). This commit adds Spring Doc to dependency management. SpringFox will be removed once all the components are converted to SpringDoc. Issue-ID: POLICY-4404 Change-Id: I861344865ce4f9aae4572690876ef7d9d7844916 Signed-off-by: liamfallon --- integration/pom.xml | 44 +++++++++++++++++----- .../src/main/scripts/release/releasePhase.sh | 1 - 2 files changed, 35 insertions(+), 10 deletions(-) diff --git a/integration/pom.xml b/integration/pom.xml index 806e01ae..4d53081b 100644 --- a/integration/pom.xml +++ b/integration/pom.xml @@ -21,8 +21,7 @@ ============LICENSE_END========================================================= --> - + 4.0.0 org.onap.policy.parent @@ -47,6 +46,8 @@ 2.14.0-rc1 1.4.0 1.6.6 + 2.2.7 + 3.0.36 2.3.1 1.1.4 4.1.84.Final @@ -58,6 +59,7 @@ 5.13.2 2.8.8 3.0.0 + 1.6.13 2.0.2 1.7.3 0.11.0 @@ -346,6 +348,11 @@ swagger-models ${version.swagger} + + io.swagger.core.v3 + swagger-models + ${version.swagger.core.v3} + @@ -399,11 +406,11 @@ json 20201115 - - com.worldturner.medeia - medeia-validator-gson - 1.1.1 - + + com.worldturner.medeia + medeia-validator-gson + 1.1.1 + @@ -663,6 +670,13 @@ runtime + + + org.springdoc + springdoc-openapi-ui + ${version.springdoc} + + commons-fileupload @@ -1110,6 +1124,19 @@ + + + io.swagger.codegen.v3 + swagger-codegen-maven-plugin + [3.0.0,) + + generate + + + + + + @@ -1366,8 +1393,7 @@ true true true - - + true true warning diff --git a/integration/src/main/scripts/release/releasePhase.sh b/integration/src/main/scripts/release/releasePhase.sh index f29bbd3d..800768e3 100755 --- a/integration/src/main/scripts/release/releasePhase.sh +++ b/integration/src/main/scripts/release/releasePhase.sh @@ -387,7 +387,6 @@ release_phase_14() { echo "Updated snapshots on policy/drools-applications and policy/gui" } - release_phase_15() { echo "Updating release data file . . ." updateRefs.sh \ -- 2.16.6