question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GSON release 2.8.0 JAR is not an OSGI bundle

See original GitHub issue

Hi, GSON release 2.8.0 JAR published to/available from maven repository is not an OSGI bundle; MANIFEST file doesn’t contain OSGI specific info.

2.8.0 JAR MANIFEST.MF contains

Manifest-Version: 1.0 Archiver-Version: Plexus Archiver Built-By: jwilson Created-By: Apache Maven 3.2.3 Build-Jdk: 1.8.0_92

where as 2.7.0 JAR MANIFEST.MF contains

Manifest-Version: 1.0 Bundle-Description: Gson JSON library Bundle-SymbolicName: com.google.gson Archiver-Version: Plexus Archiver Built-By: inder Bnd-LastModified: 1465948546904 Bundle-ManifestVersion: 2 Bundle-RequiredExecutionEnvironment: J2SE-1.5, JavaSE-1.6, JavaSE-1.7, JavaSE-1.8 Bundle-Vendor: Google Gson Project Import-Package: com.google.gson.annotations Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.6))" Bundle-ContactAddress: https://github.com/google/gson Tool: Bnd-3.1.0.201512181341 Export-Package: com.google.gson;uses:="com.google.gson.reflect,com.goo gle.gson.stream";version="2.7.0",com.google.gson.annotations;version= "2.7.0",com.google.gson.reflect;version="2.7.0",com.google.gson.strea m;version="2.7.0" Bundle-Name: Gson Bundle-Version: 2.7.0 Created-By: 1.8.0_91 (Oracle Corporation) Build-Jdk: 1.8.0_91 Regards, Rakesh.A

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10

github_iconTop GitHub Comments

3reactions
bosschaertcommented, Feb 27, 2017

+1 for getting this issue resolved.

1reaction
cristcostcommented, Mar 22, 2017

+1 for this issue. I exclusively use GSON in osgi environment…

Read more comments on GitHub >

github_iconTop Results From Across the Web

GSON release 2.8.0 JAR is not an OSGI bundle #957 - GitHub
GSON release 2.8.0 JAR published to/available from maven repository is not an OSGI bundle; MANIFEST file doesn't contain OSGI specific info.
Read more >
Problem dependencies - Development - openHAB Community
A workaround is to create a lib directory in your binding directory and put a gson jar (version 2.8 or higher) in that...
Read more >
(&(osgi.wiring.package=com.google.gson)(version>=2.3.0 ...
When the migration is complete, you will access your Teams at stackoverflowteams.com, and they will no longer appear in the left sidebar on ......
Read more >
Want to use latest gson library, but bamboo plugin...
I want to use the latest gson-2.8.0 jar in my bamboo plugin, however bamboo ... Currently the OSGi bundle with the custom plugin...
Read more >
Liferay Resolving third party Dependencies - Forums
download latest gson jar and deploy it your osgi/module directory. add dependency in build.gradle file with compileOnly scope. error : Input file does...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found