Comment #7 on issue 298 by [email protected]: protobuf jar's
manifest should include OSGi metadata
http://code.google.com/p/protobuf/issues/detail?id=298
To create an OSGI bundle apply the following changes to the pom.xml:
(Line 14):
<packaging>bundle</packaging>
instead of
<packaging>jar</packaging>
in <build><plugins> add
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>*</Export-Package>
</instructions>
</configuration>
</plugin>
That's about it.
--
You received this message because you are subscribed to the Google Groups "Protocol
Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.