summaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorRomain Gilles <rgilles@github>2016-07-15 14:34:56 +0200
committerRomain Gilles <rgilles@github>2016-07-15 14:34:56 +0200
commit9605dc59812781f60e1f2e308c5d7284d8dd756d (patch)
tree32a6274b200c6739b544f927610a28711bb20dce /pom.xml
parent00694d271ed5271ba31fe7cb95a1bf38ed7c061c (diff)
downloadflatbuffers-9605dc59812781f60e1f2e308c5d7284d8dd756d.tar.gz
flatbuffers-9605dc59812781f60e1f2e308c5d7284d8dd756d.tar.bz2
flatbuffers-9605dc59812781f60e1f2e308c5d7284d8dd756d.zip
Added OSGi header generation for maven project.
This allow jar generated with maven to be used in OSGi environment.
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 28d50d28..8e32feec 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
<groupId>com.google.flatbuffers</groupId>
<artifactId>flatbuffers-java</artifactId>
<version>1.3.0-SNAPSHOT</version>
- <packaging>jar</packaging>
+ <packaging>bundle</packaging>
<name>FlatBuffers Java API</name>
<description>
Memory Efficient Serialization Library
@@ -78,6 +78,12 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>3.0.1</version>
+ <extensions>true</extensions>
+ </plugin>
</plugins>
</build>
</project>