aboutsummaryrefslogtreecommitdiffstats
path: root/cps-ncmp-events
diff options
context:
space:
mode:
authoregernug <gerard.nugent@est.tech>2023-07-26 10:36:15 +0100
committeregernug <gerard.nugent@est.tech>2023-09-14 10:47:51 +0100
commit9693ec51cf6526082f0ad0c3ad208d144cbbb163 (patch)
treeb3e0c1a0506bcb6d17687f353448e41c092fb964 /cps-ncmp-events
parentbf8997853d7759383303b07bbeb780ca73428536 (diff)
Migrate CPS to Spring-boot 3.0
Issue-ID: CPS-1789 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: I932fca8a50cedf2ae0604401c5e2b27896e4d449
Diffstat (limited to 'cps-ncmp-events')
-rw-r--r--cps-ncmp-events/pom.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/cps-ncmp-events/pom.xml b/cps-ncmp-events/pom.xml
index 47b10c959a..f08142e3d3 100644
--- a/cps-ncmp-events/pom.xml
+++ b/cps-ncmp-events/pom.xml
@@ -36,8 +36,8 @@
<artifactId>jackson-databind</artifactId>
</dependency>
<dependency>
- <groupId>javax.validation</groupId>
- <artifactId>validation-api</artifactId>
+ <groupId>jakarta.validation</groupId>
+ <artifactId>jakarta.validation-api</artifactId>
</dependency>
</dependencies>
@@ -47,6 +47,7 @@
<groupId>org.jsonschema2pojo</groupId>
<artifactId>jsonschema2pojo-maven-plugin</artifactId>
<configuration>
+ <useJakartaValidation>true</useJakartaValidation>
<sourceDirectory>${basedir}/src/main/resources/schemas</sourceDirectory>
<targetPackage>org.onap.cps.ncmp.event.model</targetPackage>
<generateBuilders>true</generateBuilders>