Skip to content

Commit

Permalink
Refine OSGi import rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mailaender committed Feb 22, 2024
1 parent 7716313 commit 373d2b1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,14 @@
<version>5.1.8</version>
<configuration>
<instructions>
<Export-Package>org.openscience.*</Export-Package>
<Import-Package>
*;resolution:=optional,
org.slf4j;resolution:=dynamic,
org.apache.logging.log4j;resolution:=dynamic
</Import-Package>
<Export-Package>
*;version="${version}";-noimport:=true,
</Export-Package>
</instructions>
<noWarningProjectTypes>pom</noWarningProjectTypes>
</configuration>
Expand Down

0 comments on commit 373d2b1

Please sign in to comment.