Skip to content

Conversation

@robinst
Copy link
Collaborator

@robinst robinst commented Jun 8, 2025

Replacing #359 because of some changes on top.

zspitzer and others added 4 commits June 8, 2025 11:13
The only downside to defining it in `<plugins>` in the parent pom
is that there's a warning when running the plugin on the parent pom:

    [INFO] --- bundle:5.1.9:manifest (bundle-manifest) @ commonmark-parent ---
    [WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle]

The upside is we don't have to remember to put the plugin into all the poms.

The configuration is as recommended here:
https://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html#_adding_osgi_metadata_to_existing_projects_without_changing_the_packaging_type

Compared to the previous one, the only differences are:
- Import-Package adds imports for java packages, which seems to be recommended,
  see bndtools/bnd#2507
- Import-Package of own packages that were exported (e.g. org.commonmark in core)
  don't have the version number, not sure what's recommended there
@codecov
Copy link

codecov bot commented Jun 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.94%. Comparing base (41244f3) to head (5fb452d).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #378   +/-   ##
=========================================
  Coverage     94.94%   94.94%           
  Complexity      252      252           
=========================================
  Files           138      138           
  Lines          4471     4471           
  Branches        646      646           
=========================================
  Hits           4245     4245           
  Misses          122      122           
  Partials        104      104           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@robinst
Copy link
Collaborator Author

robinst commented Jun 8, 2025

FYI @zspitzer planning to merge and release this soon.

@robinst robinst merged commit 6ac678c into main Jun 10, 2025
14 checks passed
@robinst robinst deleted the osgi branch June 10, 2025 09:00
@robinst
Copy link
Collaborator Author

robinst commented Jun 20, 2025

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.

3 participants