Comments (10)
Hello, sorry for the late response. I've never used OSGi, but I did a bit of research and was able to generate the following META-INF/MANIFEST.MF
:
Manifest-Version: 1.0
Bnd-LastModified: 1581182168569
Bundle-ContactAddress: ${project.parent.url}
Bundle-Description: A java library that adds some very useful features
to Gson, like Date serializing to unix timestamp or RFC3339, method
(getter) serialization, pre and post processors and many more. Check
out the documentation to learn how to use it!
Bundle-DocURL: http://gsonfire.io
Bundle-License: "The MIT License";link="http://opensource.org/licenses
/MIT"
Bundle-ManifestVersion: 2
Bundle-Name: Gson on Fire!
Bundle-RequiredExecutionEnvironment: JavaSE-1.6, JavaSE-1.7, JavaSE-1.
8
Bundle-SCM: url="[email protected]:julman99/gson-fire.git",connection="sc
m:git:[email protected]:julman99/gson-fire.git",developer-connection="sc
m:git:[email protected]:julman99/gson-fire.git",tag=HEAD
Bundle-SymbolicName: io.gsonfire
Bundle-Vendor: julman99
Bundle-Version: 1.8.3
Created-By: 1.8.0_232 (Amazon.com Inc.)
Export-Package: io.gsonfire;version="1.8.3";uses:="com.google.gson"
Import-Package: com.google.gson;version="[2.7,3)",com.google.gson.anno
tations;version="[2.7,3)",com.google.gson.internal.bind,com.google.gs
on.reflect;version="[2.7,3)",com.google.gson.stream;version="[2.7,3)"
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.6))"
Tool: Bnd-5.0.0.202001221519
Is that what you are looking for? If that is the case I can release a new version right away
from gson-fire.
Hello, thank you for your reply! Looks good at first sight, I don't have time to test it at the moment. If you release it, I will give it a try as soon as I find time and let you know. Thank you!
from gson-fire.
Released 1.9.0-alpha1
. Please validate if you have time. Thanks!
(Ignore this message, see next one)
from gson-fire.
Released 1.9.0-alpha2
. Please validate if you have time. Thanks!
<dependency>
<groupId>io.gsonfire</groupId>
<artifactId>gson-fire</artifactId>
<version>1.9.0-alpha2</version>
</dependency>
from gson-fire.
Hello julman99,
I have tested the OSGi Support of gsonfire on behalf of @abangerl. Switching to the version that you have released (1.9.0-alpha2) didn't seem to cause any problems for our project!
We have noticed a small difference in the Manifest considering the "Export-Package"s: Our old Version of gsonfire was exporting io.gsonfire.*
(all packages), whereas the version you provided only seems to export classes under io.gsonfire
Generally speaking, every package which contains classes that are considered to be part of the "Public API" should be exported.
Best Regards
from gson-fire.
Ok great! I will fix the wildcard and release on Saturday
from gson-fire.
Thank you, I will give the official version a try as soon as it's released and report back to you!
from gson-fire.
I released as 1.8.4 since it does not have major changes. It may take an hour or so to appear in Maven Central.
Thanks again for your suggestion!
from gson-fire.
Works like a charm with the official version, thanks.
from gson-fire.
Awesome! Thanks for the suggestion
from gson-fire.
Related Issues (20)
- Reuse Exclusion Strategies HOT 11
- Add more powerful wrapping/unwrapping HOT 1
- Reuse Objects HOT 2
- Hooks Exception is not forwarded. HOT 2
- TypeAdapter does not respect `lenient` value HOT 3
- Custom deserialization without deserializer/type adapter? HOT 3
- Custom Deserialization of same field based on it's type
- Preprocessor for Array Insertion HOT 6
- Can't serialize NaN HOT 11
- RFC3339 Parser is wrong HOT 2
- Serialize complex map keys to strings and back HOT 2
- Inconsistent licensing information
- Missing Releases on Github HOT 1
- Check for required fields HOT 1
- Unresolved requirement: Import-Package: com.google.gson.internal.bind HOT 2
- No release tags for versions 1.8.4 and 1.8.5?
- How to exclude a field from serialization?
- update gson from 2.8.6 to version com.google.code.gson:gson:2.8.9 HOT 1
- osgi is not more compatible with new version of gson HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gson-fire.