diff options
author | Liam Fallon <liam.fallon@est.tech> | 2022-12-05 14:16:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-12-05 14:16:19 +0000 |
commit | 81a44fc7e6fb7dc77a8316d1d98181fc79dbb791 (patch) | |
tree | 8ac3ccb237ea7ec238e100cf9e57a7ae75b2bbdd | |
parent | 49490a64a707c516e9a6f13d2031ae4cabd3011a (diff) | |
parent | b443104fc835cde86f4fbd88cd7f9521a31650e5 (diff) |
Merge "Update pom.xml to add spring doc"
-rw-r--r-- | integration/pom.xml | 44 | ||||
-rwxr-xr-x | integration/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========================================================= --> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.onap.policy.parent</groupId> @@ -47,6 +46,8 @@ <version.jackson>2.14.0-rc1</version.jackson> <version.ccsdk>1.4.0</version.ccsdk> <version.swagger>1.6.6</version.swagger> + <version.swagger.core.v3>2.2.7</version.swagger.core.v3> + <version.swagger.codegen.v3>3.0.36</version.swagger.codegen.v3> <version.javax.bind>2.3.1</version.javax.bind> <version.javax.json>1.1.4</version.javax.json> <version.netty>4.1.84.Final</version.netty> @@ -58,6 +59,7 @@ <version.mockserver>5.13.2</version.mockserver> <version.immutable>2.8.8</version.immutable> <version.springfox>3.0.0</version.springfox> + <version.springdoc>1.6.13</version.springdoc> <version.jakarta-api>2.0.2</version.jakarta-api> <version.io.micrometer>1.7.3</version.io.micrometer> <version.io.prometheus>0.11.0</version.io.prometheus> @@ -346,6 +348,11 @@ <artifactId>swagger-models</artifactId> <version>${version.swagger}</version> </dependency> + <dependency> + <groupId>io.swagger.core.v3</groupId> + <artifactId>swagger-models</artifactId> + <version>${version.swagger.core.v3}</version> + </dependency> <!-- Encoder and decoders for various formats --> <dependency> @@ -399,11 +406,11 @@ <artifactId>json</artifactId> <version>20201115</version> </dependency> - <dependency> - <groupId>com.worldturner.medeia</groupId> - <artifactId>medeia-validator-gson</artifactId> - <version>1.1.1</version> - </dependency> + <dependency> + <groupId>com.worldturner.medeia</groupId> + <artifactId>medeia-validator-gson</artifactId> + <version>1.1.1</version> + </dependency> <!-- Lombok --> <dependency> @@ -663,6 +670,13 @@ <scope>runtime</scope> </dependency> + <!-- Springdoc --> + <dependency> + <groupId>org.springdoc</groupId> + <artifactId>springdoc-openapi-ui</artifactId> + <version>${version.springdoc}</version> + </dependency> + <!-- File upload --> <dependency> <groupId>commons-fileupload</groupId> @@ -1110,6 +1124,19 @@ <ignore /> </action> </pluginExecution> + <pluginExecution> + <pluginExecutionFilter> + <groupId>io.swagger.codegen.v3</groupId> + <artifactId>swagger-codegen-maven-plugin</artifactId> + <versionRange>[3.0.0,)</versionRange> + <goals> + <goal>generate</goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore /> + </action> + </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> @@ -1366,8 +1393,7 @@ <includeResources>true</includeResources> <includeTestSourceDirectory>true</includeTestSourceDirectory> <includeTestResources>true</includeTestResources> - <excludes> - </excludes> + <excludes></excludes> <consoleOutput>true</consoleOutput> <failOnViolation>true</failOnViolation> <violationSeverity>warning</violationSeverity> 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 \ |