Skip to content

Commit

Permalink
More JPMS fine-tunings (#1895)
Browse files Browse the repository at this point in the history
  • Loading branch information
vy committed Oct 25, 2023
1 parent 945cbc8 commit bfdc861
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions log4j-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
javax.naming;resolution:=optional
</bnd-extra-package-options>
<bnd-extra-module-options>
<!-- OSGI is optional in JPMS -->
org.osgi.core;static=true,
<!-- OSGI is optional in JPMS and it shouldn't be transitive either (#1895) -->
org.osgi.core;static=true;transitive=false,
<!-- BND seems to always add `java.logging` (dependency of `java.sql`) -->
java.logging;static=true,
java.sql;static=true,
Expand Down
4 changes: 2 additions & 2 deletions log4j-layout-template-json/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
-->
<bnd-module-name>org.apache.logging.log4j.layout.template.json</bnd-module-name>
<bnd-extra-module-options>
<!-- Correct module names -->
org.jctools.core;substitute="jctools-core"
<!-- JCTools is optional (#1895) -->
org.jctools.core;substitute="jctools-core";static=true
</bnd-extra-module-options>
<Fragment-Host>org.apache.logging.log4j.core</Fragment-Host>

Expand Down

0 comments on commit bfdc861

Please sign in to comment.