Browse Source

Fix OSGi support in compatibility packages

Change-Id: I0f04060c70d83724c08c37e93dd57a2d93b065a8
tags/8.0.0.alpha1
Artur Signell 7 years ago
parent
commit
ce35755008
3 changed files with 5 additions and 3 deletions
  1. 3
    2
      compatibility-server/pom.xml
  2. 1
    1
      compatibility-shared/pom.xml
  3. 1
    0
      server/pom.xml

+ 3
- 2
compatibility-server/pom.xml View File

@@ -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>

+ 1
- 1
compatibility-shared/pom.xml View File

@@ -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>

+ 1
- 0
server/pom.xml View File

@@ -51,6 +51,7 @@
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<scope>provided</scope>
<optional>true</optional>
</dependency>

<!-- Sass compiler -->

Loading…
Cancel
Save