Add dependency on javax.validation validation-api 54/37554/1
authorRyan Goulding <ryandgoulding@gmail.com>
Wed, 13 Apr 2016 15:21:37 +0000 (11:21 -0400)
committerRyan Goulding <ryandgoulding@gmail.com>
Wed, 13 Apr 2016 15:22:14 +0000 (11:22 -0400)
In order to upgrade to org.eclipse.persistence to 2.6.0+ in odlparent,
downstream consumers must include the dependency on javax.validation
validation-api version 1.1.0.Final as described here:

http://stackoverflow.com/questions/28568154/
how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3

The work to upgrade odlparent's moxy version is included in this patch:
https://git.opendaylight.org/gerrit/#/c/37541/

Change-Id: I950cf10e58f96d16abe6a99ace9273d70cd8eda5
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
renderers/iovisor/pom.xml

index 1be4a1bf10855fc8456cec85bcaeffd95fd31902..db7e60a4fecfda705f1c543de318b4e44b10edfc 100644 (file)
         <artifactId>jersey-core</artifactId>
     </dependency>
     <!-- Eclipse persistence -->
+    <dependency>
+      <groupId>javax.validation</groupId>
+      <artifactId>validation-api</artifactId>
+    </dependency>
     <dependency>
         <groupId>org.eclipse.persistence</groupId>
         <artifactId>org.eclipse.persistence.moxy</artifactId>