You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Weimin Yu (Jira)" <ji...@apache.org> on 2019/12/02 17:00:00 UTC
[jira] [Created] (BEAM-8862) Dependency on io.grpc-all allows
test-only dependencies on runtimeClasspath
Weimin Yu created BEAM-8862:
-------------------------------
Summary: Dependency on io.grpc-all allows test-only dependencies on runtimeClasspath
Key: BEAM-8862
URL: https://issues.apache.org/jira/browse/BEAM-8862
Project: Beam
Issue Type: Wish
Components: io-java-gcp
Reporter: Weimin Yu
The java-io-gcp module (maybe others too) has a compile dependency on io.grpc-all, which includes io.grpc-testing. This allows test-only dependencies (such as junit, mockito, and hamcrest etc) to get on compileClasspath and runtimeClasspath in downstream users. In our project we have to explicitly exclude them so that they do not get added to the release artifacts.
Is it possible for your module to exclude io.grpc-testing from compile?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)