diff options
author | Toine Siebelink <toine.siebelink@est.tech> | 2023-09-18 14:54:22 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-09-18 14:54:22 +0000 |
commit | a01f8861a84931f4bdf2d69fa05a793afabc22e0 (patch) | |
tree | 566994ff310bf2eb55e32ee7827faeab46373805 /cps-ncmp-rest/pom.xml | |
parent | b45c80995966be243a79bedefa25f6c05f64a2d6 (diff) | |
parent | 9693ec51cf6526082f0ad0c3ad208d144cbbb163 (diff) |
Merge "Migrate CPS to Spring-boot 3.0"
Diffstat (limited to 'cps-ncmp-rest/pom.xml')
-rw-r--r-- | cps-ncmp-rest/pom.xml | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/cps-ncmp-rest/pom.xml b/cps-ncmp-rest/pom.xml index 1ac1bd7e6e..edb7ff5e8c 100644 --- a/cps-ncmp-rest/pom.xml +++ b/cps-ncmp-rest/pom.xml @@ -33,6 +33,10 @@ <artifactId>cps-ncmp-rest</artifactId> + <properties> + <minimum-coverage>0.99</minimum-coverage> + </properties> + <dependencies> <dependency> <groupId>${project.groupId}</groupId> @@ -62,6 +66,10 @@ <artifactId>swagger-annotations</artifactId> </dependency> <dependency> + <groupId>io.swagger.core.v3</groupId> + <artifactId>swagger-models</artifactId> + </dependency> + <dependency> <groupId>org.mapstruct</groupId> <artifactId>mapstruct</artifactId> </dependency> @@ -98,7 +106,6 @@ <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> - <scope>test</scope> <exclusions> <exclusion> <groupId>org.junit.vintage</groupId> @@ -110,6 +117,14 @@ <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> </dependency> + <dependency> + <groupId>org.openapitools</groupId> + <artifactId>jackson-databind-nullable</artifactId> + </dependency> + <dependency> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter-api</artifactId> + </dependency> </dependencies> <build> @@ -137,6 +152,7 @@ <sourceFolder>src/gen/java</sourceFolder> <dateLibrary>java11</dateLibrary> <interfaceOnly>true</interfaceOnly> + <useSpringBoot3>true</useSpringBoot3> <useTags>true</useTags> <openApiNullable>false</openApiNullable> <skipDefaultInterface>true</skipDefaultInterface> @@ -159,6 +175,7 @@ <sourceFolder>src/gen/java</sourceFolder> <dateLibrary>java11</dateLibrary> <interfaceOnly>true</interfaceOnly> + <useSpringBoot3>true</useSpringBoot3> <useTags>true</useTags> <openApiNullable>false</openApiNullable> <skipDefaultInterface>true</skipDefaultInterface> @@ -173,9 +190,10 @@ <phase>compile</phase> <configuration> <inputSpec>${project.basedir}/docs/openapi/openapi-inventory.yml</inputSpec> - <generatorName>openapi-yaml</generatorName> + <generatorName>spring</generatorName> <configOptions> <outputFile>openapi-inventory.yaml</outputFile> + <useSpringBoot3>true</useSpringBoot3> </configOptions> </configuration> </execution> |