-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add OSGi metadata to API jar #95
Comments
I wish for this proposal to become a general practice for all MP APIs. There is a long tradition of Java API repackaging for use in OSGi. This has lead not only to multiple disparate repackaging efforts but to outright forks in some cases (as was the need in Geronimo as shown above, but also in many others.) The above suggestion uses OSGi specifications which are the culmination of years of analysis and real life use. It is the best way to handle OSGi compatibility and requires little to no code change w.r.t. the API code; specific use of the single argument |
Agreed, we were just following what other MP projects were doing, so we must not have enough in general, or have fallen behind. |
@rotty3000 are you able to help and do a PR to fix this one and then we can propose it as a general solution for MP? |
I will do that in the coming weeks. |
All, I've sent the following PR #108 (note I've done this for all official microprofile projects). Thoughts welcome. |
At geronimo we have a set of OSGi users and to fulfill all their requirements the API jar should support OSGi metadata.
It is mainly about providing the following metadata:
This will allow to avoid to fork the API and expose multiple coordinates for the same jar at the end.
Thanks,
Romain
The text was updated successfully, but these errors were encountered: