Skip to content

Commit 7854029

Browse files
authored
JAVA-1612: Include netty-common jar in binary tarball (apache#1164)
Motivation: Users of the binary tarball noticed that the netty-common dependency was missing, via a NoClassDefFoundError for io.netty.util.Timer. This was caused by netty-common being excluded as it is a transitive dependency of netty-transport-epoll. While it is also a transitive dependency of included jars, the maven-assembly-plugin still excludes it. Modifications: Remove the use of useTransitiveFiltering in the dependencySet. This is ok as netty-transport-epoll dependencies are depended on by the driver jar already. Result: netty-common jar is now included in the lib directory of the binary tarball.
1 parent 234cd55 commit 7854029

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

changelog/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
- [bug] JAVA-2070: Call onRemove instead of onDown when rack and/or DC information changes for a host.
1010
- [improvement] JAVA-1256: Log parameters of BuiltStatement in QueryLogger.
1111
- [documentation] JAVA-2074: Document preference for LZ4 over Snappy.
12+
- [bug] JAVA-1612: Include netty-common jar in binary tarball.
1213

1314

1415
### 3.6.0

driver-dist/src/assembly/binary-tarball.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
<!-- platform-dependent -->
4646
<exclude>io.netty:netty-transport-native-epoll:*</exclude>
4747
</excludes>
48-
<useTransitiveFiltering>true</useTransitiveFiltering>
4948
</dependencySet>
5049
</dependencySets>
5150
</binaries>

0 commit comments

Comments
 (0)