Skip to content

Commit

Permalink
fix: use proper scope for DirectPath transitive dependencies (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
igorbernstein2 committed Nov 1, 2019
1 parent 846a44f commit 1d1c4de
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions google-cloud-bigtable/pom.xml
Expand Up @@ -83,6 +83,16 @@
<artifactId>grpc-alts</artifactId>
<scope>runtime</scope>
</dependency>
<!--
grpc-stub is needed directly by our tests and transitively by grpc-alts at runtime.
So it has to be declared as a direct dependency and to avoid overriding grpc-alts'
runtime requirement it has to be promoted to the runtime scope.
-->
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-stub</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-api</artifactId>
Expand Down Expand Up @@ -162,11 +172,6 @@
<artifactId>truth</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-stub</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-testing</artifactId>
Expand Down

0 comments on commit 1d1c4de

Please sign in to comment.