summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-events/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'cps-ncmp-events/pom.xml')
-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>