-
Notifications
You must be signed in to change notification settings - Fork 620
Open
Labels
Description
Description
com.clickhouse:clickhouse-jdbc:jar:all:0.9.7 POM unnecessarily includes all shaded dependencies
Steps to reproduce
$ mvn dependency:tree
[INFO] com.example:ch-jdbc-demo:jar:1.0-SNAPSHOT
[INFO] \- com.clickhouse:clickhouse-jdbc:jar:all:0.9.7:compile
[INFO] +- com.clickhouse:clickhouse-client:jar:0.9.7:compile
[INFO] +- com.clickhouse:clickhouse-data:jar:0.9.7:compile
[INFO] +- com.clickhouse:clickhouse-http-client:jar:0.9.7:compile
[INFO] +- org.apache.httpcomponents.client5:httpclient5:jar:5.4.4:compile
[INFO] +- org.apache.httpcomponents.core5:httpcore5:jar:5.3.4:compile
[INFO] +- org.apache.httpcomponents.core5:httpcore5-h2:jar:5.3.4:compile
[INFO] +- org.apache.commons:commons-compress:jar:1.28.0:compile
[INFO] +- commons-codec:commons-codec:jar:1.19.0:compile
[INFO] +- commons-io:commons-io:jar:2.20.0:compile
[INFO] +- org.apache.commons:commons-lang3:jar:3.20.0:compile
[INFO] +- com.clickhouse:jdbc-v2:jar:0.9.7:compile
[INFO] +- com.clickhouse:client-v2:jar:0.9.7:compile
[INFO] +- org.ow2.asm:asm:jar:9.7:compile
[INFO] +- org.antlr:antlr4-runtime:jar:4.13.2:compile
[INFO] +- com.google.guava:guava:jar:33.4.6-jre:compile
[INFO] +- com.google.guava:failureaccess:jar:1.0.3:compile
[INFO] +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[INFO] +- org.jspecify:jspecify:jar:1.0.0:compile
[INFO] +- com.google.errorprone:error_prone_annotations:jar:2.36.0:compile
[INFO] +- com.google.j2objc:j2objc-annotations:jar:3.0.0:compile
[INFO] +- at.yawk.lz4:lz4-java:jar:1.10.2:compile
[INFO] +- org.slf4j:slf4j-api:jar:2.0.7:compile
[INFO] \- org.roaringbitmap:RoaringBitmap:jar:1.0.6:compile
Expected Behaviour
Since all the classes from the dependencies above are shaded and part of the clickhouse-jdbc-0.9.7-all.jar they should not be in the POM.
Code Example
<dependency>
<groupId>com.clickhouse</groupId>
<artifactId>clickhouse-jdbc</artifactId>
<version>0.9.7</version>
<classifier>all</classifier>
</dependency>
Environment
- Client version: 0.9.7
Reactions are currently unavailable