-
Notifications
You must be signed in to change notification settings - Fork 306
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
FISH-7880 Update Bundle Plugin #6439
Conversation
b0ac777
to
5880169
Compare
Jenkins test please |
Signed-off-by: Andrew Pielage <[email protected]>
…ckaged Signed-off-by: Andrew Pielage <[email protected]>
Signed-off-by: Andrew Pielage <[email protected]>
Signed-off-by: Andrew Pielage <[email protected]>
Signed-off-by: Andrew Pielage <[email protected]>
Signed-off-by: Andrew Pielage <[email protected]>
Signed-off-by: Andrew Pielage <[email protected]>
35a7d70
to
105dcbb
Compare
Jenkins test please |
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.
While creating this I realised that for quite a while now the configuration to not export anything by default was actually not doing anything, meaning by default we were exporting everything. I've kept this as-is now, but probably worth reviewing if this is correct and why GlassFish originally didn't do so (they do now if that's relevant).
If they do it would be probably good to follow suite, as that has been the intent all along. There was of course massive PR from David that replaced the osgi.bundle
magic with direct configuration of the plugin, so it's hard to see how exactly that changed.
I'll yet run this through bunana to get full picture
Signed-off-by: Andrew Pielage <[email protected]>
Apparently the microprofile update is even newer than 2 hours, as I see quite some differences due to new MP6.1 stuff in the diff. But there are few more: I fail to create a proper table so just the raw lines of some interesting imports/exports
Those sun imports probably need to be all optional. And actually, no Java packages appeared, at least from what bunana sees |
Signed-off-by: Andrew Pielage <[email protected]>
Signed-off-by: Andrew Pielage <[email protected]>
Signed-off-by: Andrew Pielage <[email protected]>
Signed-off-by: Andrew Pielage <[email protected]>
Signed-off-by: Andrew Pielage <[email protected]>
Jenkins test please |
Signed-off-by: Andrew Pielage <[email protected]>
Signed-off-by: Andrew Pielage <[email protected]>
Jenkins test please |
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.
LGTM
Description
Updates the maven bundle plugin to 5.1.9.
This requires reconfiguring a lot of OSGi since it introduces changes to the default package import behaviour.
While creating this I realised that for quite a while now the
<Export-Package />
configuration to not export anything by default was actually not doing anything, meaning by default we were exporting everything. I've kept this as-is now, but probably worth reviewing if this is correct and why GlassFish originally didn't do so (they do now if that's relevant).Important Info
Blockers
Finding an OSGi oneiromancer who can properly advise.
Testing
New tests
None
Testing Performed
Built server, started admin console - no OSGi errors.
Testing Environment
Windows 11, Zulu 11.0.20.1 & 21.0.0
Documentation
N/A?
Notes for Reviewers
I've dotted some optional imports around, but I need to review if some of them should be dynamic (or some other thing) instead.
No idea yet why updating bundle plugin means extra non-JDK packages seem to be getting imported now ¯\_(ツ)_/¯
org.apache.jasper.compiler
- Qué?com.sun.messaging.jmq.admin.jmsspi
- I've set this as optional for now, as this comes from OpenMQ. Eclipse GlassFish have removed this "legacy" handler so might also be relevant for us to do the same?org.apache.xerces.impl
- Just excluded for now, in the same way GlassFish do. Not sure if this should be optional resolution since presumably something inweb-core
wants it.opentelemetry-repackaged
- I've just excludeddalvik
andcom.android
since they don't seem relevant, but I've leftio.opentelemetry.exporter.prometheus
as optional since that seems like it might be.org.glassfish.admin.rest.resources.generatedASM
- no clue. Generated class lookup from somewhere. GlassFish exclude it so thought I should too.