summaryrefslogtreecommitdiffstats
path: root/compatibility-server/pom.xml
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2016-08-25 14:01:28 +0300
committerVaadin Code Review <review@vaadin.com>2016-08-29 05:10:13 +0000
commit653a24fa08eccd4606282355c7e36d979a9d0bca (patch)
treebab9c97314a9a8851c7aeab77b53600044d0a4a4 /compatibility-server/pom.xml
parent13b99cfa265913ab8cb2d948f2ab2bf152a959e4 (diff)
downloadvaadin-framework-653a24fa08eccd4606282355c7e36d979a9d0bca.tar.gz
vaadin-framework-653a24fa08eccd4606282355c7e36d979a9d0bca.zip
Mark java validation packages as optional for OSGi
Change-Id: I7214c7b0214197452a15202996503ce7cae5a1b0
Diffstat (limited to 'compatibility-server/pom.xml')
-rw-r--r--compatibility-server/pom.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/compatibility-server/pom.xml b/compatibility-server/pom.xml
index 4f6d26fe5f..a027291e88 100644
--- a/compatibility-server/pom.xml
+++ b/compatibility-server/pom.xml
@@ -80,6 +80,8 @@
<Bundle-RequiredExecutionEnvironment>${osgi.execution.environment}</Bundle-RequiredExecutionEnvironment>
<Bundle-Version>${osgi.bundle.version}</Bundle-Version>
<Export-Package>com.vaadin.v7.*;version="${osgi.bundle.version}"</Export-Package>
+ <Import-Package>javax.validation;version="${javax.validation.version}";resolution:=optional</Import-Package>
+
<Require-Bundle>
com.vaadin.server;bundle-version="${osgi.bundle.version}"
</Require-Bundle>