Add dependency on javax.validation validation-api 55/37555/3
authorRyan Goulding <ryandgoulding@gmail.com>
Wed, 13 Apr 2016 15:27:38 +0000 (11:27 -0400)
committerTom Pantelis <tpanteli@brocade.com>
Wed, 13 Apr 2016 18:25:25 +0000 (18:25 +0000)
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: Ia3dc42c498a334d36fefb49fe7ddb936638987b7
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
features/config-persister/pom.xml
features/config-persister/src/main/features/features.xml
opendaylight/config/config-persister-directory-xml-adapter/pom.xml
opendaylight/config/config-persister-file-xml-adapter/pom.xml
opendaylight/md-sal/sal-binding-it/pom.xml

index 8990cf25e8d4855ff895ad92b1aa22c9b9877138..89721fc04e827ae94c4b5f1736f6475220538dbb 100644 (file)
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-lang3</artifactId>
     </dependency>
+    <dependency>
+      <groupId>javax.validation</groupId>
+      <artifactId>validation-api</artifactId>
+    </dependency>
     <dependency>
       <groupId>org.eclipse.persistence</groupId>
       <artifactId>org.eclipse.persistence.core</artifactId>
index 6243cbdb02425c36f823edb3b985190a7730c863..57eda21f15257e63a4e22a0fd202679d5c422b4a 100644 (file)
@@ -25,6 +25,7 @@
     <bundle>mvn:com.google.guava/guava/{{VERSION}}</bundle>
     <bundle>mvn:commons-io/commons-io/{{VERSION}}</bundle>
     <bundle>mvn:org.apache.commons/commons-lang3/{{VERSION}}</bundle>
+    <bundle>wrap:mvn:javax.validation/validation-api/{{VERSION}}</bundle>
     <bundle>mvn:org.eclipse.persistence/org.eclipse.persistence.core/{{VERSION}}</bundle>
     <bundle>mvn:org.eclipse.persistence/org.eclipse.persistence.moxy/{{VERSION}}</bundle>
   </feature>
index 02d1e22d599e27c6bd14b9fe80a93de38b0f253e..53e82a0613744623c4112ad7746bc2042291e988 100644 (file)
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-lang3</artifactId>
     </dependency>
+    <dependency>
+      <groupId>javax.validation</groupId>
+      <artifactId>validation-api</artifactId>
+    </dependency>
     <dependency>
       <groupId>org.eclipse.persistence</groupId>
       <artifactId>org.eclipse.persistence.core</artifactId>
index b9bed7ad8f08209801d23e3e7ef1ae1bc673cd44..f10f6a117754655265d30e6059438ee12ce4af83 100644 (file)
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-lang3</artifactId>
     </dependency>
+    <dependency>
+      <groupId>javax.validation</groupId>
+      <artifactId>validation-api</artifactId>
+    </dependency>
     <dependency>
       <groupId>org.eclipse.persistence</groupId>
       <artifactId>org.eclipse.persistence.core</artifactId>
index 7b6c27e288549bc84e3e775627af36d6ef6f0085..f3561eb45151a865a0d9a95748f314300862b16f 100644 (file)
       <groupId>org.eclipse.tycho</groupId>
       <artifactId>org.eclipse.osgi</artifactId>
     </dependency>
+    <dependency>
+      <groupId>javax.validation</groupId>
+      <artifactId>validation-api</artifactId>
+    </dependency>
     <dependency>
       <groupId>org.eclipse.persistence</groupId>
       <artifactId>org.eclipse.persistence.core</artifactId>