diff options
author | xiaofeng@google.com <xiaofeng@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2012-10-25 06:21:08 +0000 |
---|---|---|
committer | xiaofeng@google.com <xiaofeng@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2012-10-25 06:21:08 +0000 |
commit | a058718f7abef4bc18e6a386023dbc0272037dc5 (patch) | |
tree | 182be8538557e1eea55305df4bf89dc8466d2a04 /java | |
parent | 75575df086cd66e3f2bd7590d828ff69b2dac46b (diff) | |
download | protobuf-a058718f7abef4bc18e6a386023dbc0272037dc5.tar.gz protobuf-a058718f7abef4bc18e6a386023dbc0272037dc5.tar.bz2 protobuf-a058718f7abef4bc18e6a386023dbc0272037dc5.zip |
Fix issue 298: add OSGi configuration to pom.xml - patch from Thomas Kock
Diffstat (limited to 'java')
-rw-r--r-- | java/pom.xml | 12 |
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> |