Skip to content

Commit 9605dc5

Browse files
committed
Added OSGi header generation for maven project.
This allow jar generated with maven to be used in OSGi environment.
1 parent 00694d2 commit 9605dc5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pom.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<groupId>com.google.flatbuffers</groupId>
77
<artifactId>flatbuffers-java</artifactId>
88
<version>1.3.0-SNAPSHOT</version>
9-
<packaging>jar</packaging>
9+
<packaging>bundle</packaging>
1010
<name>FlatBuffers Java API</name>
1111
<description>
1212
Memory Efficient Serialization Library
@@ -78,6 +78,12 @@
7878
</execution>
7979
</executions>
8080
</plugin>
81+
<plugin>
82+
<groupId>org.apache.felix</groupId>
83+
<artifactId>maven-bundle-plugin</artifactId>
84+
<version>3.0.1</version>
85+
<extensions>true</extensions>
86+
</plugin>
8187
</plugins>
8288
</build>
8389
</project>

0 commit comments

Comments
 (0)