Skip to content

Commit

Permalink
fix guava shade error in distributedlog (#4319)
Browse files Browse the repository at this point in the history
Fix #2700

## Changes

- shade jar should include com.google.guava:failureaccess.
- remove unused exclude dependency now.
Signed-off-by: ZhangJian He <shoothzj@gmail.com>
(cherry picked from commit 459d440)
  • Loading branch information
hezhangjian committed May 25, 2024
1 parent 2fa28a8 commit eb4ce0e
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions shaded/distributedlog-core-shaded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,10 @@
<artifactId>distributedlog-core</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-reload4j</artifactId>
</exclusion>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
<exclusion>
<groupId>ch.qos.reload4j</groupId>
<artifactId>reload4j</artifactId>
</exclusion>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>netty-buffer</artifactId>
Expand Down Expand Up @@ -83,6 +71,7 @@
<include>com.fasterxml.jackson.core:jackson-core</include>
<include>com.fasterxml.jackson.core:jackson-databind</include>
<include>com.fasterxml.jackson.core:jackson-annotations</include>
<include>com.google.guava:failureaccess</include>
<include>com.google.guava:guava</include>
<include>com.google.protobuf:protobuf-java</include>
<include>net.jpountz.lz4:lz4</include>
Expand Down

0 comments on commit eb4ce0e

Please sign in to comment.