Skip to content

Commit

Permalink
ZOOKEEPER-4820: Fix propagation of Logback dependencies
Browse files Browse the repository at this point in the history
Reviewers: ctubbsii, shoothzj, ctubbsii, kezhuw
Author: ppkarwasz
Closes #2155 from ppkarwasz/fix/4820_change_logback_scope
  • Loading branch information
ppkarwasz authored Sep 19, 2024
1 parent 52f7af5 commit ff2406d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
4 changes: 4 additions & 0 deletions zookeeper-assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@
<groupId>jline</groupId>
<artifactId>jline</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency>
<dependency>
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId>
Expand Down
12 changes: 4 additions & 8 deletions zookeeper-contrib/zookeeper-contrib-zooinspector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,9 @@
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
<artifactId>logback-classic</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
Expand All @@ -121,4 +117,4 @@
<scope>test</scope>
</dependency>
</dependencies>
</project>
</project>
6 changes: 2 additions & 4 deletions zookeeper-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,11 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
Expand Down

0 comments on commit ff2406d

Please sign in to comment.