Browse Source

Fix bnd warnings

tags/8.2.0.alpha2
Ahmed Ashour 6 years ago
parent
commit
829c9d7256
4 changed files with 7 additions and 5 deletions
  1. 0
    1
      compatibility-server/bnd.bnd
  2. 1
    2
      compatibility-shared/bnd.bnd
  3. 5
    0
      pom.xml
  4. 1
    2
      shared/bnd.bnd

+ 0
- 1
compatibility-server/bnd.bnd View File

@@ -3,7 +3,6 @@ Bundle-Name: Vaadin Compatibility Server
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-License: http://www.apache.org/licenses/LICENSE-2.0
Import-Package: com.vaadin*;version="[${osgi.bundle.version},${osgi.bundle.version}]",\
org.osgi*,\
javax.validation*;resolution:=optional;version='${javax.validation.version}',\
*
Export-Package: !com.vaadin.v7.shared*,\

+ 1
- 2
compatibility-shared/bnd.bnd View File

@@ -2,7 +2,6 @@ Bundle-SymbolicName: ${project.groupId}.compatibility-shared
Bundle-Name: Vaadin Compatibility Shared
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-License: http://www.apache.org/licenses/LICENSE-2.0
Import-Package: com.vaadin*;version="[${osgi.bundle.version},${osgi.bundle.version}]",\
org.osgi*
Import-Package: com.vaadin*;version="[${osgi.bundle.version},${osgi.bundle.version}]"
Export-Package: \
com.vaadin.v7.shared*;-noimport:=true

+ 5
- 0
pom.xml View File

@@ -522,6 +522,11 @@
</lifecycleMappingMetadata>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>3.3.0</version>
</plugin>
</plugins>
</pluginManagement>


+ 1
- 2
shared/bnd.bnd View File

@@ -3,8 +3,7 @@ Bundle-Activator: com.vaadin.osgi.resources.OsgiVaadinResources
Bundle-Name: Vaadin Shared
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-License: http://www.apache.org/licenses/LICENSE-2.0
Import-Package: com.vaadin*;version="[${osgi.bundle.version},${osgi.bundle.version}]",\
org.osgi*
Import-Package: org.osgi*
Export-Package: com.vaadin.osgi.resources;-noimport:=true,\
com.vaadin.shared*;-noimport:=true,\
elemental.json*;-noimport:=true

Loading…
Cancel
Save