Added OSGi Bundle manifest headers to enable use of Gson in OSGi environments.
Fixes issue 120
This commit is contained in:
parent
b44bbbf5e7
commit
6b39f52f53
16
gson/pom.xml
16
gson/pom.xml
|
@ -69,6 +69,22 @@
|
|||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifestEntries>
|
||||
<Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
|
||||
<Export-Package><![CDATA[com.google.json;version=1.3.0, com.google.gson.annotations;version=1.3.0, com.google.gson.reflect;version=1.3.0]]></Export-Package>
|
||||
<Bundle-Version>1.3.0</Bundle-Version>
|
||||
<Bundle-ContactAddress>http://code.google.com/p/google-gson/</Bundle-ContactAddress>
|
||||
<Bundle-Vendor>Google Gson Project</Bundle-Vendor>
|
||||
<Bundle-Name>${project.name}</Bundle-Name>
|
||||
<Bundle-Description>${project.description}</Bundle-Description>
|
||||
<Bundle-ClassPath>.</Bundle-ClassPath>
|
||||
<Bundle-ManifestVersion>2</Bundle-ManifestVersion>
|
||||
<Bundle-SymbolicName>com.google.gson</Bundle-SymbolicName>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<!-- TODO(inder): add manifest entry for maven group, artifact, and classifier ids -->
|
||||
|
|
Loading…
Reference in New Issue
Block a user