Skip to content

Commit

Permalink
[MRESOLVER-570] Remove excessive strictness of OSGi dependency metadata
Browse files Browse the repository at this point in the history
- Mark optional Maven dependencies as optional in OSGi metadata
  • Loading branch information
iils-hwellmann authored and gnodet committed Jun 25, 2024
1 parent 52ca14e commit 2393568
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,10 @@
Automatic-Module-Name: ${Bundle-SymbolicName}
# Export packages not containing the substring 'internal'
-exportcontents: ${removeall;${packages};${packages;NAMED;*internal*}}
# Mark optional Maven dependencies as optional
Import-Package: \
javax.inject*;resolution:=optional, \
*
# Reproducible build
-noextraheaders: true
${bnd.instructions.additions}
Expand Down

0 comments on commit 2393568

Please sign in to comment.