Added OSGi header generation for maven project.

This allow jar generated with maven to be used in OSGi environment.
This commit is contained in:
Romain Gilles 2016-07-15 14:34:56 +02:00
parent 00694d271e
commit 9605dc5981
1 changed files with 7 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<groupId>com.google.flatbuffers</groupId> <groupId>com.google.flatbuffers</groupId>
<artifactId>flatbuffers-java</artifactId> <artifactId>flatbuffers-java</artifactId>
<version>1.3.0-SNAPSHOT</version> <version>1.3.0-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>bundle</packaging>
<name>FlatBuffers Java API</name> <name>FlatBuffers Java API</name>
<description> <description>
Memory Efficient Serialization Library Memory Efficient Serialization Library
@ -78,6 +78,12 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>3.0.1</version>
<extensions>true</extensions>
</plugin>
</plugins> </plugins>
</build> </build>
</project> </project>