aboutsummaryrefslogtreecommitdiffhomepage
path: root/java/pom.xml
diff options
context:
space:
mode:
authorGravatar xiaofeng@google.com <xiaofeng@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2012-10-25 06:21:08 +0000
committerGravatar xiaofeng@google.com <xiaofeng@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2012-10-25 06:21:08 +0000
commita058718f7abef4bc18e6a386023dbc0272037dc5 (patch)
tree182be8538557e1eea55305df4bf89dc8466d2a04 /java/pom.xml
parent75575df086cd66e3f2bd7590d828ff69b2dac46b (diff)
Fix issue 298: add OSGi configuration to pom.xml - patch from Thomas Kock
Diffstat (limited to 'java/pom.xml')
-rw-r--r--java/pom.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/java/pom.xml b/java/pom.xml
index 7ec6d918..fb504f31 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -11,7 +11,7 @@
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>2.4.2-pre</version>
- <packaging>jar</packaging>
+ <packaging>bundle</packaging>
<name>Protocol Buffer Java API</name>
<description>
Protocol Buffers are a way of encoding structured data in an efficient yet
@@ -132,6 +132,16 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Export-Package>*</Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
</plugins>
</build>
<profiles>