Add OSGi meta-data

This commit is contained in:
lburgazzoli
2016-07-21 18:13:31 +02:00
parent b2f16d00f6
commit 19e4f3e17a
+37
View File
@@ -29,6 +29,7 @@
<version>2.4.16-SNAPSHOT</version>
<name>OpenHFT/Chronicle-Map</name>
<description>Chronicle-Map</description>
<packaging>bundle</packaging>
<dependencyManagement>
@@ -201,6 +202,42 @@
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
<Bundle-Name>OpenHFT :: ${project.artifactId}</Bundle-Name>
<Bundle-Version>${project.version}</Bundle-Version>
<Import-Package>
com.thoughtworks.xstream.*;resolution:=optional,
org.jetbrains.annotations;resolution:=optional,
org.intellij.lang.annotations;resolution:=optional,
shaded.org.apache.maven.model.*;resolution:=optional,
*
</Import-Package>
<Export-Package>
net.openhft.chronicle.map.*,
net.openhft.chronicle.set.*,
net.openhft.chronicle.hash.*
</Export-Package>
</instructions>
</configuration>
<executions>
<!--
This execution makes sure that the manifest is available
when the tests are executed
-->
<execution>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- used to allow getClass().getPackage().getImplementationVersion() -->
<plugin>