linghengqian commented on code in PR #34409: URL: https://github.com/apache/shardingsphere/pull/34409#discussion_r1922995644
########## test/pom.xml: ########## @@ -70,6 +70,30 @@ <groupId>org.testcontainers</groupId> <artifactId>testcontainers</artifactId> <scope>test</scope> + <exclusions> + <exclusion> + <groupId>org.apache.commons</groupId> + <artifactId>commons-compress</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-compress</artifactId> + <version>${commons-compress.version}</version> + <scope>test</scope> + <exclusions> + <exclusion> + <groupId>org.apache.commons</groupId> + <artifactId>commons-io</artifactId> + </exclusion> + </exclusions> + </dependency> Review Comment: - Allow me to express my doubts about this change. Versions 1.25.0 and later of `org.apache.commons:commons-compress` actually break the public API of testcontainers-java. See https://github.com/testcontainers/testcontainers-java/issues/8338 . - I'm guessing you actually want to control the dependency tree of jetcd-test? ```shell <dependency> <groupId>io.etcd</groupId> <artifactId>jetcd-test</artifactId> <version>${jetcd.version}</version> <scope>test</scope> <exclusions> <exclusion> <groupId>org.apache.commons</groupId> <artifactId>commons-compress</artifactId> </exclusion> </exclusions> </dependency> ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@shardingsphere.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org