Skip to content

feat: Adds support for OSGI meta-data gen for reactor module#2097

Merged
jponge merged 1 commit intosmallrye:mainfrom
scottslewis:issue_2074c
Mar 30, 2026
Merged

feat: Adds support for OSGI meta-data gen for reactor module#2097
jponge merged 1 commit intosmallrye:mainfrom
scottslewis:issue_2074c

Conversation

@scottslewis
Copy link
Copy Markdown
Contributor

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

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.17%. Comparing base (b055d3d) to head (9a51d67).
⚠️ Report is 9 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@             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     

see 13 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jponge jponge merged commit 028555d into smallrye:main Mar 30, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants