Skip to content

Commit

Permalink
cleanup dependency declarations
Browse files Browse the repository at this point in the history
Signed-off-by: Ceki Gulcu <[email protected]>
  • Loading branch information
ceki committed Oct 7, 2022
1 parent 0c78913 commit 6259aad
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 22 deletions.
1 change: 1 addition & 0 deletions logback-classic-blackbox/src/test/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module logback.classic.blackbox {
requires java.xml;
requires ch.qos.logback.core;
requires ch.qos.logback.classic;
requires jakarta.mail;
Expand Down
13 changes: 0 additions & 13 deletions logback-core-blackbox/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,6 @@
</dependency>


<!--
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
</dependency>
<dependency>
<groupId>jakarta.mail</groupId>
<artifactId>jakarta.mail-api</artifactId>
<scope>compile</scope>
</dependency>
-->

<dependency>
<groupId>org.codehaus.janino</groupId>
<artifactId>janino</artifactId>
Expand Down
4 changes: 4 additions & 0 deletions logback-core-blackbox/src/test/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
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;
exports ch.qos.logback.core.blackbox.joran;
}
13 changes: 4 additions & 9 deletions logback-core/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
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 jakarta.mail on downstream users,
// let them declare it if they need it
requires static jakarta.mail;

// jakarta.servlet 5.0 is not modular
requires static jakarta.servlet;

requires static janino;
requires static commons.compiler;

exports ch.qos.logback.core;
exports ch.qos.logback.core.boolex;


exports ch.qos.logback.core.encoder;

Expand All @@ -26,11 +25,9 @@

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;

exports ch.qos.logback.core.joran.event;
exports ch.qos.logback.core.joran.sanity;
exports ch.qos.logback.core.joran.spi;
Expand Down Expand Up @@ -64,7 +61,5 @@
exports ch.qos.logback.core.testUtil;
exports ch.qos.logback.core.util;



}

0 comments on commit 6259aad

Please sign in to comment.