diff options
-rw-r--r-- | compatibility-server/pom.xml | 5 | ||||
-rw-r--r-- | compatibility-shared/pom.xml | 2 | ||||
-rw-r--r-- | server/pom.xml | 1 |
3 files changed, 5 insertions, 3 deletions
diff --git a/compatibility-server/pom.xml b/compatibility-server/pom.xml index a027291e88..024cefc001 100644 --- a/compatibility-server/pom.xml +++ b/compatibility-server/pom.xml @@ -53,6 +53,7 @@ <groupId>javax.validation</groupId> <artifactId>validation-api</artifactId> <scope>provided</scope> + <optional>true</optional> </dependency> </dependencies> @@ -80,10 +81,10 @@ <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}" + com.vaadin.server;bundle-version="${osgi.bundle.version}", + com.vaadin.shared;bundle-version="${osgi.bundle.version}" </Require-Bundle> </instructions> </configuration> diff --git a/compatibility-shared/pom.xml b/compatibility-shared/pom.xml index 9c9b88fdbc..aa5a27ab8c 100644 --- a/compatibility-shared/pom.xml +++ b/compatibility-shared/pom.xml @@ -48,7 +48,7 @@ <Bundle-Version>${osgi.bundle.version}</Bundle-Version> <Export-Package>com.vaadin.*;version="${osgi.bundle.version}"</Export-Package> <Require-Bundle> - com.vaadin.shared;bundle-version="${osgi.bundle.version}", + com.vaadin.shared;bundle-version="${osgi.bundle.version}" </Require-Bundle> </instructions> </configuration> diff --git a/server/pom.xml b/server/pom.xml index 303d40df8a..27edf34288 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -51,6 +51,7 @@ <groupId>javax.validation</groupId> <artifactId>validation-api</artifactId> <scope>provided</scope> + <optional>true</optional> </dependency> <!-- Sass compiler --> |