feat: Adds support for OSGI meta-data gen for reactor module#2097
Merged
jponge merged 1 commit intosmallrye:mainfrom Mar 30, 2026
Merged
feat: Adds support for OSGI meta-data gen for reactor module#2097jponge merged 1 commit intosmallrye:mainfrom
jponge merged 1 commit intosmallrye:mainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2097 +/- ##
============================================
- Coverage 89.17% 89.17% -0.01%
- Complexity 3123 3126 +3
============================================
Files 412 412
Lines 13308 13308
Branches 1688 1688
============================================
- Hits 11868 11867 -1
Misses 814 814
- Partials 626 627 +1 🚀 New features to boost your workflow:
|
jponge
approved these changes
Mar 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds bnd configuration to reactive module pom.xml to generate OSGI meta-data during build.
This pr is to satisfy issue #2094 for the reactive module specifically.
I was unable to find a module-info.java class, so the Bundle-SymbolicName for this module/jar was set to io.smallrye.mutiny.converters. If this is not right, please lmk and I'll update to desired name.
In local testing, here is the resulting reactive manifest.mf (with current snapshot version).
Manifest-Version: 1.0
Created-By: 21.0.10 (Eclipse Adoptium)
Build-Jdk-Spec: 21
Specification-Title: SmallRye Mutiny - Integration with Reactor
Specification-Version: 999.0
Specification-Vendor: SmallRye
Implementation-Title: SmallRye Mutiny - Integration with Reactor
Implementation-Version: 999-SNAPSHOT
Implementation-Vendor: SmallRye
Implementation-URL: https://smallrye.io/smallrye-mutiny
Java-Version: 21.0.10
Scm-Connection: scm:git:[email protected]:smallrye/smallrye-mutiny.git/muti
ny-reactor
Scm-Revision:
Scm-Url: https://github.com/smallrye/smallrye-mutiny/mutiny-reactor
Bnd-LastModified: 1774647443232
Bundle-Description: Intuitive Event-Driven Reactive Programming Library
for Java
Bundle-Developers: cescoffier;email="clement[AT]apache[DOT]org";name="Cl
ement Escoffier",jponge;email="julien[AT]ponge[DOT]org";name="Julien Po
nge"
Bundle-DocURL: https://smallrye.io/smallrye-mutiny
Bundle-License: Apache License, Version 2.0;description="A business-frie
ndly OSS license";link="https://www.apache.org/licenses/LICENSE-2.0.txt
"
Bundle-ManifestVersion: 2
Bundle-Name: Bundle io.smallrye.reactive : mutiny-reactor
Bundle-SCM: url="https://github.com/smallrye/smallrye-mutiny/mutiny-reac
tor",connection="scm:git:[email protected]:smallrye/smallrye-mutiny.git/mu
tiny-reactor",developer-connection="scm:git:[email protected]:smallrye/sma
llrye-mutiny.git/mutiny-reactor",tag=HEAD
Bundle-SymbolicName: io.smallrye.mutiny.converters
Bundle-Vendor: SmallRye
Bundle-Version: 999.0.0.SNAPSHOT
Export-Package: io.smallrye.mutiny.converters;version="999.0.0.SNAPSHOT"
,io.smallrye.mutiny.converters.multi;version="999.0.0.SNAPSHOT",io.smal
lrye.mutiny.converters.uni;version="999.0.0.SNAPSHOT"
Import-Package: io.smallrye.mutiny;version="[999.0,1000)",io.smallrye.mu
tiny.converters;version="[999.0,1000)",io.smallrye.mutiny.groups;versio
n="[999.0,1000)",io.smallrye.mutiny.helpers;version="[999.0,1000)",io.s
mallrye.mutiny.operators;version="[999.0,1000)",io.smallrye.mutiny.subs
cription;version="[999.0,1000)",mutiny.zero.flow.adapters,org.reactives
treams;version="[1.0,2)",reactor.core.publisher;version="[3.8,4)"
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=17))"
Tool: Bnd-7.2.1.202601121903
Note that as soon as the mutiny.zero adapters code is available as an OSGi bundle, I will test in OSGi environments. smallrye/smallrye-mutiny-zero#319