You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Luke Cwik (Jira)" <ji...@apache.org> on 2020/08/21 22:52:00 UTC

[jira] [Updated] (BEAM-8862) Dependency on io.grpc-all allows test-only dependencies on runtimeClasspath

     [ https://issues.apache.org/jira/browse/BEAM-8862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luke Cwik updated BEAM-8862:
----------------------------
    Fix Version/s: 2.25.0

> 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
>            Priority: P3
>             Fix For: 2.25.0
>
>
> 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)