Skip to content

Commit

Permalink
Missing Constraint when using as bundle in OSGi context #1174 (#1175)
Browse files Browse the repository at this point in the history
Mark imported packages sun.security.* as optional when generating
manifest.

Fixes #1174

Signed-off-by: Martin Jobst <martin.jobst@posteo.de>
  • Loading branch information
mx990 committed Oct 25, 2023
1 parent f2784b6 commit f1ce134
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pom.xml
Expand Up @@ -343,6 +343,7 @@
<instructions>
<Import-Package>
com.sun.management.*;resolution:=optional,
sun.security.*;resolution:=optional,
!javax.annotation.*,
*
</Import-Package>
Expand Down

0 comments on commit f1ce134

Please sign in to comment.