René's URL Explorer Experiment


Title: OSGi manifest headers missing from published JARs since 26.0 · Issue #4547 · graphql-java/graphql-java · GitHub

Open Graph Title: OSGi manifest headers missing from published JARs since 26.0 · Issue #4547 · graphql-java/graphql-java

X Title: OSGi manifest headers missing from published JARs since 26.0 · Issue #4547 · graphql-java/graphql-java

Description: Describe the bug Since 26.0, the published graphql-java JAR no longer contains OSGi headers (Bundle-SymbolicName, Bundle-Version, Export-Package, Import-Package). As a result, it can't be deployed as a bundle in an OSGi container, and do...

Open Graph Description: Describe the bug Since 26.0, the published graphql-java JAR no longer contains OSGi headers (Bundle-SymbolicName, Bundle-Version, Export-Package, Import-Package). As a result, it can't be deployed ...

X Description: Describe the bug Since 26.0, the published graphql-java JAR no longer contains OSGi headers (Bundle-SymbolicName, Bundle-Version, Export-Package, Import-Package). As a result, it can't be deplo...

Opengraph URL: https://github.com/graphql-java/graphql-java/issues/4547

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"OSGi manifest headers missing from published JARs since 26.0","articleBody":"**Describe the bug**\n\nSince 26.0, the published `graphql-java` JAR no longer contains OSGi headers (`Bundle-SymbolicName`, `Bundle-Version`, `Export-Package`, `Import-Package`). As a result, it can't be deployed as a bundle in an OSGi container, and downstream bundles built with bnd no longer get version ranges on their `graphql.*` imports.\n\n| Version | OSGi headers in `META-INF/MANIFEST.MF` |\n|---|---|\n| 24.3, 25.0, 25.1 | present (`Bundle-SymbolicName: graphql-java`, `Export-Package: graphql.*`, ...) |\n| 26.0, 26.1 | missing (only `Manifest-Version` and `Automatic-Module-Name`) |\n\n**To Reproduce**\n\n```sh\nfor v in 25.1 26.0 26.1; do\n  curl -s -o gj-$v.jar https://repo1.maven.org/maven2/com/graphql-java/graphql-java/$v/graphql-java-$v.jar\n  echo \"== $v\"; unzip -p gj-$v.jar META-INF/MANIFEST.MF | grep -E '^(Bundle-SymbolicName|Export-Package)' | cut -c1-60\ndone\n```\n\n**Cause**\n\nThis appears to have been introduced by 4db3cc40 (#4171, Gradle 9.2.0 upgrade). That's the only change to the bnd setup between 25.0 and 26.0. The previous setup was:\n\n```groovy\nshadowJar {\n    convention.plugins.bundle = new aQute.bnd.gradle.BundleTaskConvention(it)\n    doLast { buildBundle() }\n    bnd('''...''')\n}\n```\n\nIt was replaced with:\n\n```groovy\ntasks.named('shadowJar').configure {\n    def bundle = extensions.findByType(BundleTaskExtension)\n    if (bundle != null) {\n        bundle.bnd('''...''')\n    }\n}\n```\n\nThe bnd builder plugin only adds `BundleTaskExtension` to the `jar` task, so on `shadowJar` `findByType` returns `null` and the block is skipped silently. The `doLast { buildBundle() }` step was also dropped, so bnd never rewrites the manifest.\n\n**Suggested fix**\n\nThe bnd Gradle plugin documents this pattern for tasks other than `jar`:\n\n```groovy\ntasks.named('shadowJar').configure {\n    def bundle = extensions.create(BundleTaskExtension.NAME, BundleTaskExtension, it)\n    bundle.bnd('''...same instructions as today...''')\n    doLast(bundle.buildAction())\n}\n```\n\nI haven't built graphql-java with this change, so it's a suggestion, not a tested patch. A build check that fails if `Bundle-SymbolicName` is missing from the shadow JAR would stop this from happening again.\n","author":{"url":"https://github.com/RedN4ks","@type":"Person","name":"RedN4ks"},"datePublished":"2026-11-10T10:22:35Z","url":"https://github.com/graphql-java/graphql-java/issues/4547"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a7e508bb-c26d-dad0-1c9d-21ca8e75247d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA51A:34CAB:2303CE3:2CB71D8:6B0188C1
html-safe-noncee2d9cb22ce45f5fe2760052215c141b67aed1e6049a00b69f588a438500bb735
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTFBOjM0Q0FCOjIzMDNDRTM6MkNCNzFEODo2QjAxODhDMSIsInZpc2l0b3JfaWQiOiIyODc5NTM3MjgwMzg3NzQ1OTg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac41b1f73fc3e416894005262c0cc09210c9f0d4191ec16133b8576879499dc6a9
hovercard-subject-tagissue:6304879242
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/graphql-java/graphql-java/4547/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6c8c67d2b19c0f1921e9967b23a5afe2de056d7d6411c398e5d1baa65c961436/graphql-java/graphql-java/issues/4547
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6c8c67d2b19c0f1921e9967b23a5afe2de056d7d6411c398e5d1baa65c961436/graphql-java/graphql-java/issues/4547
og:image:altDescribe the bug Since 26.0, the published graphql-java JAR no longer contains OSGi headers (Bundle-SymbolicName, Bundle-Version, Export-Package, Import-Package). As a result, it can't be deployed ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameRedN4ks
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/graphql-java/graphql-java git https://github.com/graphql-java/graphql-java.git
octolytics-dimension-user_id14289921
octolytics-dimension-user_logingraphql-java
octolytics-dimension-repository_id38602457
octolytics-dimension-repository_nwographql-java/graphql-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id38602457
octolytics-dimension-repository_network_root_nwographql-java/graphql-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/graphql-java/graphql-java/issues/4547#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgraphql-java%2Fgraphql-java%2Fissues%2F4547
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgraphql-java%2Fgraphql-java%2Fissues%2F4547
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=graphql-java%2Fgraphql-java
Reloadhttps://github.com/graphql-java/graphql-java/issues/4547
Reloadhttps://github.com/graphql-java/graphql-java/issues/4547
Reloadhttps://github.com/graphql-java/graphql-java/issues/4547
graphql-javahttps://github.com/graphql-java
graphql-javahttps://github.com/graphql-java/graphql-java
Codehttps://github.com/graphql-java/graphql-java
Issues27 (27)https://github.com/graphql-java/graphql-java/issues
Pull requests35 (35)https://github.com/graphql-java/graphql-java/pulls
Discussionshttps://github.com/graphql-java/graphql-java/discussions
Actionshttps://github.com/graphql-java/graphql-java/actions
Projectshttps://github.com/graphql-java/graphql-java/projects
Wikihttps://github.com/graphql-java/graphql-java/wiki
Security and qualityhttps://github.com/graphql-java/graphql-java/security
Insightshttps://github.com/graphql-java/graphql-java/insights
https://github.com/graphql-java/graphql-java
New issuehttps://github.com/login?return_to=https://github.com/graphql-java/graphql-java/issues/4547
New issuehttps://github.com/login?return_to=https://github.com/graphql-java/graphql-java/issues/4547
#4548https://github.com/graphql-java/graphql-java/pull/4548
OSGi manifest headers missing from published JARs since 26.0https://github.com/graphql-java/graphql-java/issues/4547#top
#4548https://github.com/graphql-java/graphql-java/pull/4548
https://github.com/RedN4ks
RedN4kshttps://github.com/RedN4ks
on Nov 10, 2026https://github.com/graphql-java/graphql-java/issues/4547#issue-6304879242
4db3cc4https://github.com/graphql-java/graphql-java/commit/4db3cc404e0fdd1085eee34142c4787cc53a0418
#4171https://github.com/graphql-java/graphql-java/pull/4171
bbakermanhttps://github.com/bbakerman
completedhttps://github.com/graphql-java/graphql-java/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
b6d0ea2https://github.com/graphql-java/graphql-java/commit/b6d0ea284b37edd4671bc14300c469029de0b49a
on Nov 17, 2026https://github.com/graphql-java/graphql-java/issues/4547#event-36363783515
rhino88https://github.com/rhino88
on Nov 17, 2026https://github.com/graphql-java/graphql-java/issues/4547#event-36456379675
Restore OSGi manifest headers in the published jarhttps://github.com/rhino88/graphql-java/commit/b6d0ea284b37edd4671bc14300c469029de0b49a
https://docs.github.com/articles/closing-issues-via-commit-messages
b6d0ea2https://github.com/rhino88/graphql-java/commit/b6d0ea284b37edd4671bc14300c469029de0b49a
Sign up for freehttps://github.com/signup?return_to=https://github.com/graphql-java/graphql-java/issues/4547
Sign in to commenthttps://github.com/login?return_to=https://github.com/graphql-java/graphql-java/issues/4547
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.