From: Ryan Goulding Date: Wed, 13 Apr 2016 15:27:38 +0000 (-0400) Subject: Add dependency on javax.validation validation-api X-Git-Tag: release/boron~222 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=c4866dd4ddd707966293e2c159977997e5880d17 Add dependency on javax.validation validation-api 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 --- diff --git a/features/config-persister/pom.xml b/features/config-persister/pom.xml index 8990cf25e8..89721fc04e 100644 --- a/features/config-persister/pom.xml +++ b/features/config-persister/pom.xml @@ -88,6 +88,10 @@ org.apache.commons commons-lang3 + + javax.validation + validation-api + org.eclipse.persistence org.eclipse.persistence.core diff --git a/features/config-persister/src/main/features/features.xml b/features/config-persister/src/main/features/features.xml index 6243cbdb02..57eda21f15 100644 --- a/features/config-persister/src/main/features/features.xml +++ b/features/config-persister/src/main/features/features.xml @@ -25,6 +25,7 @@ mvn:com.google.guava/guava/{{VERSION}} mvn:commons-io/commons-io/{{VERSION}} mvn:org.apache.commons/commons-lang3/{{VERSION}} + wrap:mvn:javax.validation/validation-api/{{VERSION}} mvn:org.eclipse.persistence/org.eclipse.persistence.core/{{VERSION}} mvn:org.eclipse.persistence/org.eclipse.persistence.moxy/{{VERSION}} diff --git a/opendaylight/config/config-persister-directory-xml-adapter/pom.xml b/opendaylight/config/config-persister-directory-xml-adapter/pom.xml index 02d1e22d59..53e82a0613 100644 --- a/opendaylight/config/config-persister-directory-xml-adapter/pom.xml +++ b/opendaylight/config/config-persister-directory-xml-adapter/pom.xml @@ -25,6 +25,10 @@ org.apache.commons commons-lang3 + + javax.validation + validation-api + org.eclipse.persistence org.eclipse.persistence.core diff --git a/opendaylight/config/config-persister-file-xml-adapter/pom.xml b/opendaylight/config/config-persister-file-xml-adapter/pom.xml index b9bed7ad8f..f10f6a1177 100644 --- a/opendaylight/config/config-persister-file-xml-adapter/pom.xml +++ b/opendaylight/config/config-persister-file-xml-adapter/pom.xml @@ -25,6 +25,10 @@ org.apache.commons commons-lang3 + + javax.validation + validation-api + org.eclipse.persistence org.eclipse.persistence.core diff --git a/opendaylight/md-sal/sal-binding-it/pom.xml b/opendaylight/md-sal/sal-binding-it/pom.xml index 7b6c27e288..f3561eb451 100644 --- a/opendaylight/md-sal/sal-binding-it/pom.xml +++ b/opendaylight/md-sal/sal-binding-it/pom.xml @@ -21,6 +21,10 @@ org.eclipse.tycho org.eclipse.osgi + + javax.validation + validation-api + org.eclipse.persistence org.eclipse.persistence.core