Giter VIP home page Giter VIP logo

Comments (10)

julman99 avatar julman99 commented on July 18, 2024

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.

abangerl avatar abangerl commented on July 18, 2024

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.

julman99 avatar julman99 commented on July 18, 2024

Released 1.9.0-alpha1. Please validate if you have time. Thanks!
(Ignore this message, see next one)

from gson-fire.

julman99 avatar julman99 commented on July 18, 2024

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.

GitGraf avatar GitGraf commented on July 18, 2024

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.

julman99 avatar julman99 commented on July 18, 2024

Ok great! I will fix the wildcard and release on Saturday

from gson-fire.

GitGraf avatar GitGraf commented on July 18, 2024

Thank you, I will give the official version a try as soon as it's released and report back to you!

from gson-fire.

julman99 avatar julman99 commented on July 18, 2024

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.

GitGraf avatar GitGraf commented on July 18, 2024

Works like a charm with the official version, thanks.

from gson-fire.

julman99 avatar julman99 commented on July 18, 2024

Awesome! Thanks for the suggestion

from gson-fire.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.