Skip to content

Commit

Permalink
Merge pull request #496 from dmlloyd/fix-desc
Browse files Browse the repository at this point in the history
Module descriptor updates
  • Loading branch information
jamezp authored Nov 26, 2024
2 parents 3edda58 + 894da17 commit 41933b4
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,16 @@
<plugin>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
<configuration>
<excludes>module-info.java</excludes>
</configuration>
</plugin>
<plugin>
<groupId>net.revelc.code</groupId>
<artifactId>impsort-maven-plugin</artifactId>
<configuration>
<excludes>module-info.java</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
Expand Down
31 changes: 30 additions & 1 deletion src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,12 +1,41 @@
import org.jboss.logmanager.ConfiguratorFactory;
import org.jboss.logmanager.JBossLoggerFinder;
import org.jboss.logmanager.LogContextConfigurator;
import org.jboss.logmanager.LogContextInitializer;
import org.jboss.logmanager.LogManager;
import org.jboss.logmanager.MDCProvider;
import org.jboss.logmanager.NDCProvider;
import org.jboss.logmanager.configuration.DefaultConfiguratorFactory;

module org.jboss.logmanager {
requires java.logging;
requires transitive java.logging;

requires io.smallrye.common.constraint;
requires io.smallrye.common.cpu;
requires io.smallrye.common.expression;
requires io.smallrye.common.net;
requires io.smallrye.common.os;
requires io.smallrye.common.ref;

requires static java.xml;
requires static jakarta.json;
requires static org.jboss.modules;

exports org.jboss.logmanager;
exports org.jboss.logmanager.configuration;
exports org.jboss.logmanager.configuration.filters;
exports org.jboss.logmanager.errormanager;
exports org.jboss.logmanager.filters;
exports org.jboss.logmanager.formatters;
exports org.jboss.logmanager.handlers;

provides java.util.logging.LogManager with LogManager;
provides System.LoggerFinder with JBossLoggerFinder;
provides ConfiguratorFactory with DefaultConfiguratorFactory;

uses ConfiguratorFactory;
uses LogContextConfigurator;
uses LogContextInitializer;
uses MDCProvider;
uses NDCProvider;
}

0 comments on commit 41933b4

Please sign in to comment.