Skip to content

Commit

Permalink
cleanup dependency declarations
Browse files Browse the repository at this point in the history
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
  • Loading branch information
ceki committed Oct 7, 2022
1 parent aaabe89 commit c3f992b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 14 deletions.
3 changes: 3 additions & 0 deletions logback-classic-blackbox/src/test/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
module logback.classic.blackbox {
requires java.xml;

requires ch.qos.logback.core;
requires ch.qos.logback.classic;

requires janino;

requires org.junit.jupiter.api;
Expand Down
2 changes: 2 additions & 0 deletions logback-classic/src/main/java9/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
// javax.servlet:javax.servlet-api:jar:4.0.1:compile -> auto-named as javax.servlet.api
requires static javax.servlet.api;



requires org.slf4j;
requires ch.qos.logback.core;
uses ch.qos.logback.classic.spi.Configurator;
Expand Down
9 changes: 0 additions & 9 deletions logback-core-blackbox/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,6 @@
<artifactId>logback-core</artifactId>
</dependency>


<!--
<dependency>
<groupId>javax.mail</groupId>
<artifactId>javax.mail-api</artifactId>
<scope>test</scope>
</dependency>
-->

<dependency>
<groupId>org.codehaus.janino</groupId>
<artifactId>janino</artifactId>
Expand Down
3 changes: 3 additions & 0 deletions logback-core-blackbox/src/test/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
module ch.qos.logback.core.blackbox {
requires java.xml;

requires ch.qos.logback.core;

requires org.junit.jupiter.api;
requires org.junit.jupiter.engine;

requires janino;

exports ch.qos.logback.core.blackbox.joran.conditional;
Expand Down
9 changes: 4 additions & 5 deletions logback-core/src/main/java9/module-info.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
module ch.qos.logback.core {
requires static transitive java.xml;
requires transitive java.xml;
requires static java.sql;

// required by the optional SMTPAppenderBase component
requires static java.naming;

requires static janino;
requires static commons.compiler;

// transitive _imposes_ the presence of javax.mail on downstream users,
// let them declare it if they need it
requires static javax.mail.api;
Expand All @@ -13,8 +16,6 @@
requires static javax.servlet.api;


requires static janino;
requires static commons.compiler;

exports ch.qos.logback.core;
exports ch.qos.logback.core.boolex;
Expand All @@ -26,7 +27,6 @@

exports ch.qos.logback.core.filter;


exports ch.qos.logback.core.joran;
exports ch.qos.logback.core.joran.action;
exports ch.qos.logback.core.joran.conditional;
Expand All @@ -43,7 +43,6 @@
exports ch.qos.logback.core.model.processor.conditional;
exports ch.qos.logback.core.model.util;


exports ch.qos.logback.core.net;
exports ch.qos.logback.core.net.server;
exports ch.qos.logback.core.net.ssl;
Expand Down

0 comments on commit c3f992b

Please sign in to comment.