-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Migrate from maven-bundle-plugin to bnd-maven-plugin for finer OSGi meta… #3843
Conversation
…etadata fixes swagger-api#3842 Signed-off-by: Raymond Augé <raymond.auge@liferay.com>
18b870a
to
e4dacd7
Compare
fix unfortunate commit text... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rotty3000 thanks a lot for your effort in this area. I have looked at your changes and impact on generated artifacts, and there are some possible open issues:
-
The main one: if I am not mistaken the generated JARs manifests do not include anymore an
Automatic-Module-Name
entry, even if this seems to be configured in the new plugin. This would need to be fixed to consistently provide automatic module name to JDK 9+ modules based envs. -
There are differences in the outcome related to
Export-Package
,Import-Package
and possiblyRequire-Capability
for all modules; This is probably ok, and even "better" than what previously provided but I cannot at the moment do thorough tests in OSGi env for all modules to verify their correct behaviour. I guess you are more familiar and up to date with OSGi internals, and actively usingswagger-core
in OSGi, I would therefore ask you to confirm that all packages have been tested in OSGi env and that they correctly define imports and exports.
Thanks again for your effort, please let me know what you think
Hi @frantuma thanks for reviewing :)
If you perform a binary comparison of the resulting jars before and after (which I have done for all jars) you will note that the
This is expected and desired :) I've tested the result in OSGi using the Apache JAX-RS Whiteboard project for which I wish to update the version of swagger if/when this change gets merged/released. I'm also prepared to keep the metadata up to date and address issues (as time permits) if someone pings me. Thanks for you time and effort on swagger. |
My bad, compared with wrong manifest.. merging now, thanks! |
…data
fixes #3842
Signed-off-by: Raymond Augé raymond.auge@liferay.com